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/flicvideo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/flicvideo.c') diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c index b60e0b1c23..9f8732ae3d 100644 --- a/libavcodec/flicvideo.c +++ b/libavcodec/flicvideo.c @@ -85,7 +85,6 @@ static int flic_decode_init(AVCodecContext *avctx) int depth; s->avctx = avctx; - avctx->has_b_frames = 0; s->fli_type = AV_RL16(&fli_header[4]); /* Might be overridden if a Magic Carpet FLC */ depth = AV_RL16(&fli_header[12]); -- cgit v1.2.3