[FFmpeg-devel] [PATCH] Allow setting mode MONO in libmp3lame if the library is greater than 3.97

Stefano Sabatini stefano.sabatini-lala
Wed Aug 18 01:19:31 CEST 2010


On date Tuesday 2010-08-17 13:40:04 -0700, Thierry Foucu encoded:
> On Tue, Aug 17, 2010 at 1:20 PM, Michael Niedermayer <michaelni at gmx.at>wrote:
[...]
> > ok, but this needs a configure check to make sure lame is not too old
> >
> >
> I look at the ffmpeg configure, and i was thinking to use
> check_cpp_condition, however lame does include their version in the lame.h.
> The only way to get their version is to call some of their function which
> return a char*.
> 
> so not sure how to do the check in the configure unless adding another
> function specific to lame verification checking.
> 
> Any idea? suggestion?

If all else fails use pkg-config --at-least-version=XXX. And is lame
of lame that it does not support a better way to check the version
number, maybe that should be fixed (or even better it should be
inglobated into FFmpeg *grin*).

Regards.
-- 
FFmpeg = Fantastic and Furious Mournful Problematic EnGraver



More information about the ffmpeg-devel mailing list