changeset 10848:5844bf004dec

2pass stats curruption fix by ("Johannes E. Schindelin" <Johannes dot Schindelin at gmx dot de>)
author michael
date Thu, 11 Sep 2003 07:09:25 +0000
parents 98dc548dbf2d
children 9c472c2c60fb
files libmpcodecs/ve_lavc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c	Thu Sep 11 00:16:33 2003 +0000
+++ b/libmpcodecs/ve_lavc.c	Thu Sep 11 07:09:25 2003 +0000
@@ -499,6 +499,7 @@
     	    return 0;
     }
 
+    if(!stats_file) {
     /* lavc internal 2pass bitrate control */
     switch(lavc_param_vpass){
     case 1: 
@@ -529,6 +530,7 @@
 	}        
 	break;
     }
+    }
 
     lavc_venc_context->me_method = ME_ZERO+lavc_param_vme;