Remove redundant assign
authorKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 27 Mar 2007 05:23:07 +0000 (05:23 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 27 Mar 2007 05:23:07 +0000 (05:23 +0000)
Originally committed as revision 8531 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/aasc.c
libavcodec/kmvc.c
libavcodec/qpeg.c
libavcodec/truemotion2.c
libavcodec/tscc.c
libavcodec/ulti.c
libavcodec/vmnc.c
libavcodec/zmbv.c

index 6c8e316..8f26fae 100644 (file)
@@ -52,7 +52,6 @@ static int aasc_decode_init(AVCodecContext *avctx)
     s->avctx = avctx;
 
     avctx->pix_fmt = PIX_FMT_BGR24;
-    avctx->has_b_frames = 0;
     s->frame.data[0] = NULL;
 
     return 0;
index 28dc014..08de051 100644 (file)
@@ -346,7 +346,6 @@ static int decode_init(AVCodecContext * avctx)
     int i;
 
     c->avctx = avctx;
-    avctx->has_b_frames = 0;
 
     c->pic.data[0] = NULL;
 
index 3c597e8..d995bc3 100644 (file)
@@ -293,7 +293,6 @@ static int decode_init(AVCodecContext *avctx){
 
     a->avctx = avctx;
     avctx->pix_fmt= PIX_FMT_PAL8;
-    avctx->has_b_frames = 0;
     a->pic.data[0] = NULL;
     a->refdata = av_malloc(avctx->width * avctx->height);
 
index 1596752..b282c96 100644 (file)
@@ -834,7 +834,6 @@ static int decode_init(AVCodecContext *avctx){
 
     l->avctx = avctx;
     l->pic.data[0]=NULL;
-    avctx->has_b_frames = 0;
     avctx->pix_fmt = PIX_FMT_YUV420P;
 
     dsputil_init(&l->dsp, avctx);
index c2c04f1..1453eb5 100644 (file)
@@ -261,7 +261,6 @@ static int decode_init(AVCodecContext *avctx)
     int zret; // Zlib return code
 
     c->avctx = avctx;
-    avctx->has_b_frames = 0;
 
     c->pic.data[0] = NULL;
     c->height = avctx->height;
index b4028f4..d84a88d 100644 (file)
@@ -51,7 +51,6 @@ static int ulti_decode_init(AVCodecContext *avctx)
     s->height = avctx->height;
     s->blocks = (s->width / 8) * (s->height / 8);
     avctx->pix_fmt = PIX_FMT_YUV410P;
-    avctx->has_b_frames = 0;
     avctx->coded_frame = (AVFrame*) &s->frame;
     s->ulti_codebook = ulti_codebook;
 
index 17abbea..b430a7e 100644 (file)
@@ -463,7 +463,6 @@ static int decode_init(AVCodecContext *avctx)
     VmncContext * const c = (VmncContext *)avctx->priv_data;
 
     c->avctx = avctx;
-    avctx->has_b_frames = 0;
 
     c->pic.data[0] = NULL;
     c->width = avctx->width;
index 3b87c7d..89b8418 100644 (file)
@@ -612,7 +612,6 @@ static int decode_init(AVCodecContext *avctx)
     int zret; // Zlib return code
 
     c->avctx = avctx;
-    avctx->has_b_frames = 0;
 
     c->pic.data[0] = NULL;
     c->width = avctx->width;