From 587d07227eed8021ac38dc352ba72ee5b6714380 Mon Sep 17 00:00:00 2001 From: Nicholas Tung Date: Sat, 7 Apr 2007 17:37:30 +0000 Subject: 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 --- libavcodec/qtrle.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/qtrle.c') diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c index 415f08098e..b63112221d 100644 --- a/libavcodec/qtrle.c +++ b/libavcodec/qtrle.c @@ -523,7 +523,6 @@ static int qtrle_decode_init(AVCodecContext *avctx) avctx->bits_per_sample); break; } - avctx->has_b_frames = 0; dsputil_init(&s->dsp, avctx); s->frame.data[0] = NULL; -- cgit v1.2.3