[FFmpeg-devel] [PATCH] make img_convert symbol conditional on lavc version, not libswscale

Reinhard Tartler siretart
Wed Jun 25 13:05:08 CEST 2008


Aurelien Jacobs <aurel at gnuage.org> writes:

> This don't seem to be a good idea.
> compiling both imgresample and swscale will provide the same symbols
> in libswscale and libavcodec.

Not if done right. The duplicate symbols don't need to appear in
libavcodec if libswscale is enabled. The patch in debian does this:

http://svn.debian.org/viewsvn/pkg-multimedia/unstable/ffmpeg/debian/patches/015_reenable-img_convert.diff

> The swscale compatible API in imgresample should never be built when
> swscaler is enabled.

May I ask why? The point of the patch in question is to enable
compilation and usage of legacy applications that use the old scaler
with the old API. The patch even makes this configurable defaulting to
'no'.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4





More information about the ffmpeg-devel mailing list