[FFmpeg-devel] [PATCH] fix --disable-optimization compilation
Mon Oct 29 23:43:14 CET 2007
Currently, compilation with no optimization fails because h264_parser.c
includes cabac.h, which define a static function which uses
last_coeff_flag_offset_8x8. This function is not optimized out, and
the var is declared static in h264.c.
The obvious solution is to make this var non-static.
With the attached patch, compilation with --disable-optimization works
for me with gcc-4.2 amd64.
Patch OK ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2743 bytes
Desc: not available
More information about the ffmpeg-devel