changeset 1863:1b2424e33a14 libavcodec

10l
author michael
date Fri, 05 Mar 2004 15:10:56 +0000
parents 126e075e6034
children 9a73e6dc5d68
files mpegvideo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Fri Mar 05 14:21:56 2004 +0000
+++ b/mpegvideo.c	Fri Mar 05 15:10:56 2004 +0000
@@ -2101,7 +2101,7 @@
         }
 
         /* 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);