All pastes #101230 Raw Edit

Something

public text v1 · immutable
#101230 ·published 2006-07-26 19:22 UTC
rendered paste body
Index: ratecontrol.c
===================================================================
--- ratecontrol.c       (revision 5829)
+++ ratecontrol.c       (working copy)
@@ -913,7 +913,7 @@
 
     if(fabs(expected_bits/all_available_bits - 1.0) > 0.01 ){
         av_log(s->avctx, AV_LOG_ERROR, "Error: 2pass curve failed to converge\n");
-        return -1;
+        return 0;
     }
 
     return 0;