[FFmpeg-devel] [PATCH 1/3] Don't make SWScale support unconditional for version printing.

Luca Abeni lucabe72
Thu Oct 16 16:43:49 CEST 2008

Hi Diego,

Diego 'Flameeyes' Petten? wrote:
> M?ns Rullg?rd <mans at mansr.com> writes:
>>> Remove SWScale conditional, since SWScale is unconditional for many
>>> other things, and FFmpeg is not building without that.
>> Could you elaborate?  BTW, your subject doesn't make sense.
> Well, as far as I can see, ffmpeg.c uses at least three libswscale
> functions unconditionally, so while it builds it won't load for
> undefined symbols, if we want to be precise: sws_scale, sws_freeContext,
> sws_getContext.

I do not know about sws_opts, but sws_scale() sws_freeContext() and
sws_getContext() do not depend on libswscale: if libswscale is not
enabled, they are emulated through the old scaler.
I just built an ffmpeg version without libswscale, and it compiles,
links, and works as expected.


More information about the ffmpeg-devel mailing list