[FFmpeg-devel] [PATCH] make img_convert symbol conditional on lavc version, not libswscale
Wed Jun 25 03:45:56 CEST 2008
Diego Biurrun wrote:
> On Wed, Jun 25, 2008 at 01:01:40AM +0200, Aurelien Jacobs wrote:
>> Diego Biurrun wrote:
>>> --- libavcodec/Makefile (revision 13801)
>>> +++ libavcodec/Makefile (working copy)
>>> @@ -366,8 +366,9 @@
>>> -ifndef CONFIG_SWSCALE
>>> +ifdef CONFIG_OLD_SCALER
>>> OBJS += imgresample.o
>> This don't seem to be a good idea.
>> compiling both imgresample and swscale will provide the same symbols
>> in libswscale and libavcodec.
>> The swscale compatible API in imgresample should never be built when
>> swscaler is enabled.
> Good idea or not, this is what distributions currently do. They need
> both APIs and are applying much more hackish patches than this one.
At least Mandriva and Debian also disable the swscale compatible API
from imgresample, in order to avoid having the same symbols as Aurelien
More information about the ffmpeg-devel