All pastes #213982 Raw Edit

Stuff

public text v1 · immutable
#213982 ·published 2006-10-21 19:27 UTC
rendered paste body
Index: ve_x264.c
===================================================================
--- ve_x264.c   (revision 20333)
+++ ve_x264.c   (working copy)
@@ -159,6 +159,8 @@
     param.vui.i_sar_width = d_width*height;
     param.vui.i_sar_height = d_height*width;
 
+    // make sure param is initialized
+    x264enc_set_param(NULL, "");
     x264_param_parse(&param, "stats", passtmpfile);
 
     switch(outfmt) {