aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-03-05 15:10:56 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-03-05 15:10:56 +0000
commitca5b9f20b2760413a06373e5f4863f764d925c4d (patch)
tree4926245c676ac6dd0ce98be932c335ff6a6fb39a
parent5f0f7713ad757c75c24c7ecf782266feee6e55e8 (diff)
downloadffmpeg-ca5b9f20b2760413a06373e5f4863f764d925c4d.tar.gz
10l
Originally committed as revision 2848 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 1 insertions, 1 deletions
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);