diff roqvideo.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 365f2fed8461
children f99e40a7155b
line wrap: on
line diff
--- a/roqvideo.c	Sat Apr 07 16:03:23 2007 +0000
+++ b/roqvideo.c	Sat Apr 07 17:37:30 2007 +0000
@@ -411,7 +411,6 @@
     s->last_frame    = &s->frames[0];
     s->current_frame = &s->frames[1];
     avctx->pix_fmt = PIX_FMT_YUV420P;
-    avctx->has_b_frames = 0;
     dsputil_init(&s->dsp, avctx);
 
     uiclp = uiclip+512;