[FFmpeg-devel] [PATCH] make img_convert symbol conditional on lavc version, not libswscale
Baptiste Coudurier
baptiste.coudurier
Thu Jun 5 09:38:11 CEST 2008
Hi Diego,
Diego Biurrun wrote:
> On Tue, Jun 03, 2008 at 01:46:18PM +0200, Diego Biurrun wrote:
>> Currently we declare img_convert() in avcodec.h conditional to
>>
>> #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
>>
>> However, in imgconvert.c, img_convert is defined conditional to
>>
>> #ifndef CONFIG_SWSCALE
>>
>> so that img_convert() is not available when compiling with swscale
>> enabled although it is declared in avcodec.h.
>>
>> Here is a patch to change the condition in imgconvert.c, which I believe
>> is the correct solution.
>
> I will commit this tomorrow unless I hear objections.
>
imgresample.c uses img_convert, is it safe ?
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
More information about the ffmpeg-devel
mailing list