[FFmpeg-devel] [PATCH] fix --enable-runtime-cpudetect --disable-amd3dnow compilation
Sat Sep 4 00:06:11 CEST 2010
libswscale/swscale.c: In function ?ff_getSwsFunc?:
libswscale/swscale.c:1268: warning: implicit declaration of function ?sws_init_swScale_3DNow?
libswscale/swscale.c:1269: error: ?swScale_3DNow? undeclared (first use in this function)
libswscale/swscale.c:1269: error: (Each undeclared identifier is reported only once
libswscale/swscale.c:1269: error: for each function it appears in.)
Alternatively, it could declare prototypes for sws_init_swScale_3DNow / swScale_3DNow even if they aren't being compiled.
That would let us use "if (COMPILE_TEMPLATE_AMD3DNOW && flags & SWS_CPU_CAPS_3DNOW)" instead of #ifdefs. But it might make some of the other templating more complex.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 888 bytes
Desc: not available
More information about the ffmpeg-devel