summaryrefslogtreecommitdiff
path: root/libavcodec/vp3.c
diff options
context:
space:
mode:
authorNicholas Tung <ntung@ntung.com>2007-04-07 17:37:30 +0000
committerDiego Biurrun <diego@biurrun.de>2007-04-07 17:37:30 +0000
commit587d07227eed8021ac38dc352ba72ee5b6714380 (patch)
tree5847ed38addd253658a09d052fa507eeb4cd53c1 /libavcodec/vp3.c
parentd1e0d21f9492215b324fe7872e050b2d48a55c1d (diff)
Remove superfluous setting of has_b_frames in codecs without B-frames.
patch by Nicholas Tung, ntung ntung com Originally committed as revision 8647 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r--libavcodec/vp3.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 0d882da326..a1b1baccea 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -1955,7 +1955,6 @@ static int vp3_decode_init(AVCodecContext *avctx)
s->width = (avctx->width + 15) & 0xFFFFFFF0;
s->height = (avctx->height + 15) & 0xFFFFFFF0;
avctx->pix_fmt = PIX_FMT_YUV420P;
- avctx->has_b_frames = 0;
if(avctx->idct_algo==FF_IDCT_AUTO)
avctx->idct_algo=FF_IDCT_VP3;
dsputil_init(&s->dsp, avctx);