diff vp3.c @ 4801:66ef3690d108 libavcodec

Remove superfluous setting of has_b_frames in codecs without B-frames. patch by Nicholas Tung, ntung ntung com
author diego
date Sat, 07 Apr 2007 17:37:30 +0000
parents b62a3a46856c
children cff8c7ecac71
line wrap: on
line diff
--- a/vp3.c	Sat Apr 07 16:03:23 2007 +0000
+++ b/vp3.c	Sat Apr 07 17:37:30 2007 +0000
@@ -1955,7 +1955,6 @@
     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);