|
@@ -0,0 +1,15 @@
+diff -ur x264-snapshot-20091211-2245.orig/encoder/encoder.c x264-snapshot-20091211-2245/encoder/encoder.c
+--- x264-snapshot-20091211-2245.orig/encoder/encoder.c 2009-12-11 12:32:20.000000000 +0100
++++ x264-snapshot-20091211-2245/encoder/encoder.c 2009-12-15 22:49:49.452559815 +0100
+@@ -454,9 +454,8 @@
+ score += h->param.analyse.inter == 0 && h->param.analyse.i_subpel_refine == 8;
+ if( score >= 5 )
+ {
+- x264_log( h, X264_LOG_ERROR, "broken ffmpeg default settings detected\n" );
+- x264_log( h, X264_LOG_ERROR, "use an encoding preset (vpre)\n" );
+- return -1;
++ /* broken ffmpeg defaults, set to h264 defaults */
++ x264_param_default( &h->param );
+ }
+ }
+
|