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(¶m, "stats", passtmpfile); switch(outfmt) {