aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2007-03-27 05:23:07 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2007-03-27 05:23:07 +0000
commit9ac421e3c101d3b2b0a0e5114c211b6d72459bb2 (patch)
treeb02cf1e17f65e19cd547e3d94a55e6b5c2398374 /libavcodec
parentbad0cefbdde99a81432a139672a3ca2547a69f8b (diff)
downloadffmpeg-9ac421e3c101d3b2b0a0e5114c211b6d72459bb2.tar.gz
Remove redundant assign
Originally committed as revision 8531 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aasc.c1
-rw-r--r--libavcodec/kmvc.c1
-rw-r--r--libavcodec/qpeg.c1
-rw-r--r--libavcodec/truemotion2.c1
-rw-r--r--libavcodec/tscc.c1
-rw-r--r--libavcodec/ulti.c1
-rw-r--r--libavcodec/vmnc.c1
-rw-r--r--libavcodec/zmbv.c1
8 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c
index 6c8e3166e4..8f26fae87d 100644
--- a/libavcodec/aasc.c
+++ b/libavcodec/aasc.c
@@ -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;
diff --git a/libavcodec/kmvc.c b/libavcodec/kmvc.c
index 28dc014835..08de05188e 100644
--- a/libavcodec/kmvc.c
+++ b/libavcodec/kmvc.c
@@ -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;
diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c
index 3c597e8df6..d995bc3b72 100644
--- a/libavcodec/qpeg.c
+++ b/libavcodec/qpeg.c
@@ -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);
diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c
index 1596752a90..b282c967be 100644
--- a/libavcodec/truemotion2.c
+++ b/libavcodec/truemotion2.c
@@ -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);
diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c
index c2c04f14f3..1453eb568a 100644
--- a/libavcodec/tscc.c
+++ b/libavcodec/tscc.c
@@ -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;
diff --git a/libavcodec/ulti.c b/libavcodec/ulti.c
index b4028f4392..d84a88dad9 100644
--- a/libavcodec/ulti.c
+++ b/libavcodec/ulti.c
@@ -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;
diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c
index 17abbea590..b430a7e667 100644
--- a/libavcodec/vmnc.c
+++ b/libavcodec/vmnc.c
@@ -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;
diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c
index 3b87c7db15..89b8418c55 100644
--- a/libavcodec/zmbv.c
+++ b/libavcodec/zmbv.c
@@ -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;