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/nuv.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/nuv.c') diff --git a/libavcodec/nuv.c b/libavcodec/nuv.c index 5989c6cc20..c22618d9f8 100644 --- a/libavcodec/nuv.c +++ b/libavcodec/nuv.c @@ -176,7 +176,6 @@ static int decode_init(AVCodecContext *avctx) { if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) { return 1; } - avctx->has_b_frames = 0; avctx->pix_fmt = PIX_FMT_YUV420P; c->pic.data[0] = NULL; c->width = avctx->width; -- cgit v1.2.1