From ca5b9f20b2760413a06373e5f4863f764d925c4d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 5 Mar 2004 15:10:56 +0000 Subject: [PATCH] 10l Originally committed as revision 2848 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index b9e161a559..f52437719a 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -2101,7 +2101,7 @@ int MPV_encode_picture(AVCodecContext *avctx, } /* update mpeg1/2 vbv_delay for CBR */ - if(s->avctx->rc_max_rate && s->avctx->rc_min_rate == s->avctx->rc_max_rate){ + if(s->avctx->rc_max_rate && s->avctx->rc_min_rate == s->avctx->rc_max_rate && s->out_format == FMT_MPEG1){ int vbv_delay; assert(s->repeat_first_field==0);