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/truemotion1.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/truemotion1.c') diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c index a7d3544f4b..b0fb76f2ce 100644 --- a/libavcodec/truemotion1.c +++ b/libavcodec/truemotion1.c @@ -475,7 +475,6 @@ static int truemotion1_decode_init(AVCodecContext *avctx) // else // avctx->pix_fmt = PIX_FMT_RGB555; - avctx->has_b_frames = 0; s->frame.data[0] = s->prev_frame.data[0] = NULL; /* there is a vertical predictor for each pixel in a line; each vertical -- cgit v1.2.3