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
This commit is contained in:
committed by
Diego Biurrun
parent
d1e0d21f94
commit
587d07227e
@@ -155,7 +155,6 @@ static int decode_init(AVCodecContext *avctx)
|
||||
EightBpsContext * const c = (EightBpsContext *)avctx->priv_data;
|
||||
|
||||
c->avctx = avctx;
|
||||
avctx->has_b_frames = 0;
|
||||
|
||||
c->pic.data[0] = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user