[FFmpeg-devel] [PATCH] Fix compilation without HAVE_AVX, HAVE_YASM etc.

Michael Niedermayer michaelni at gmx.at
Sat Jan 14 22:55:23 CET 2012


On Sat, Jan 14, 2012 at 05:12:53PM +0100, Reimar Döffinger wrote:
> At the very least this should fix warnings about unused static
> functions if one or more of these is not defined.
> However even compilation might be broken if the compiler does
> not optimize the function away completely.
> This actually happens in case of the AVX function, since the
> function pointer is used in an assignment that is not under
> an #if and thus probably only optimized away after the function
> was already marked as used.
> 
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

LGTM, thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120114/792407b5/attachment.asc>


More information about the ffmpeg-devel mailing list