diff fraps.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 05e932ddaaa9
children 1d116d421bbb
line wrap: on
line diff
--- a/fraps.c	Sat Apr 07 16:03:23 2007 +0000
+++ b/fraps.c	Sat Apr 07 17:37:30 2007 +0000
@@ -73,7 +73,6 @@
     FrapsContext * const s = avctx->priv_data;
 
     avctx->coded_frame = (AVFrame*)&s->frame;
-    avctx->has_b_frames = 0;
     avctx->pix_fmt= PIX_FMT_NONE; /* set in decode_frame */
 
     s->avctx = avctx;