[FFmpeg-devel] [PATCH] make img_convert symbol conditional on lavc version, not libswscale
Thu Jun 5 09:31:46 CEST 2008
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.
More information about the ffmpeg-devel