[FFmpeg-devel] [PATCH] Fix compilation with --disable-optimizations, h264 enabled but svq3 disabled

Martin Storsjö martin
Tue May 25 09:35:43 CEST 2010


This patch helps the compiler do dead code elimination of svq3 function 
branches in the common code at lower optimization levels, too. is_h264 is 
initialized with !CONFIG_SVQ3_DECODER || ..., but gcc doesn't seem to be 
able to propagate this as a constant when using --disable-optimizations.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-compilation-with-disable-optimizations-disable-d.patch
Type: text/x-diff
Size: 2947 bytes
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100525/96e71955/attachment.patch>

More information about the ffmpeg-devel mailing list