diff -u -r1.61 ve_lavc.c --- libmpcodecs/ve_lavc.c 26 Apr 2003 16:47:25 -0000 1.61 +++ libmpcodecs/ve_lavc.c 28 Apr 2003 10:12:10 -0000 @@ -414,6 +414,7 @@ mp_msg(MSGT_MENCODER,MSGL_ERR,"%s is not a supported format\n", lavc_param_format); return 0; } + if(!stats_file) { /* lavc internal 2pass bitrate control */ switch(lavc_param_vpass){ case 1: @@ -444,6 +445,7 @@ } break; } + } lavc_venc_context->me_method = ME_ZERO+lavc_param_vme;