[x264-devel] BugMaster's patch collection for x264

BugMaster BugMaster at narod.ru
Sat Nov 8 22:48:59 CET 2008


Here is my patch collection for x264 (for revision 1019), most of which I use in my builds of x264vfw.
Description of included patches:
'independent' dir:
x264_cosmetic.r1019.diff - cosmetic fix for warning "C4028: formal parameter 2 different from declaration" when compiling with VS2008.
x264_cost_mv_memoryleaks.r1019.diff - fixes memoryleaks of mvs cost arrays (not very important for x264 CLI, but useful when using x264 as shared library).
x264_custom_strtok_r.r1019.diff - fixes incorrect zones parsing at Windows (due the use of non reentrant version of strtok_r). For example, with command line "x264.exe --crf 26 --zones 0,10,asm=MMX2,psy-rd=1:1/11,50,psy-rd=0:0 -o test.mkv foreman_cif_352x288.yuv".
x264_debug_defines.r1019.diff - add defines '_DEBUG' / 'NDEBUG' when compile with gcc (using 'configure').
x264_error_memoryleaks.03.r1019.diff - fixes different memoryleaks when error happens durring 'x264_encoder_open', 'x264_ratecontrol_new', 'parse_zone', 'parse_zones'. Also fix incorrect memory allocation 'z->param' in 'parse_zone' (allocated with 'malloc' but frees with 'x264_free').
x264_fix_crash_cqp_and_vbv.r1019.diff - fixes crash with command line "x264.exe --qp 26 --vbv-maxrate 20000 --vbv-bufsize 25000 -o test.mkv foreman_cif_352x288.yuv".
x264_fix_stats_file_work.r1019.diff - add some workarounds for work with stats file (not very important for x264 CLI, but useful for applications which use x264 as library and expects "one in - one out" behaviour, for example x264vfw).
x264_multithreading_bug_check.r1019.diff - enables one bug check for multithreading for release builds which originally used only for debug builds.
x264_thread_pool.r1019.diff - adds thread-pool feature (slighly improves multithreading).
x264_vaqmod.05.r1019.diff - some modifications of VAQ (adds support for command line options '--aq-metric' and '--aq-sensitivity').

'misc' dir:
x264_disable_hadamard_ac_on_mod4_stack.r1019.diff - disables 'hadamard_ac' SSE2/SSSE3 optimizations when compiled with VS due the crash (general-protection exception) (fixed version of http://mailman.videolan.org/pipermail/x264-devel/2008-October/005069.html).
x264_vs_project.r1019.diff - removes 'eval.c' from VS project files (http://mailman.videolan.org/pipermail/x264-devel/2008-October/005050.html).
x264_x64_compilation.r1019.diff - fixes error "LNK2001: unresolved external symbol x264_pixel_avg2_w20_cache64_mmxext" when compiling for x64 platform (at least in VS).
'vs2008' dir - project files for VS2008 (not only update of current project files).

'batch' dir - same patches as in 'independent', but keeps in mind possible conflicts in applying.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bm_x264_patch_collection.r1019.zip
Type: application/x-zip-compressed
Size: 36981 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20081109/aef2fb98/attachment-0001.bin 


More information about the x264-devel mailing list