diff xan.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 231daf8387b1
children 777f250df232
line wrap: on
line diff
--- a/xan.c	Sat Apr 07 16:03:23 2007 +0000
+++ b/xan.c	Sat Apr 07 17:37:30 2007 +0000
@@ -70,7 +70,6 @@
     }
 
     avctx->pix_fmt = PIX_FMT_PAL8;
-    avctx->has_b_frames = 0;
 
     if(avcodec_check_dimensions(avctx, avctx->width, avctx->height))
         return -1;