[FFmpeg-devel] Fix libx264 detection

Måns Rullgård mans
Mon Jul 2 21:37:22 CEST 2007

Christophe GISQUET <christophe.gisquet at free.fr> writes:

> Good evening,
> M?ns Rullg?rd a ?crit :
>>> the test for x264.h/libx264 presence may fail because x264.h requires
>>> inttypes.h to be included first. The attached patch ensures that the
>>> test does that.
>> Not necessary.  We only test the presence of the header, never compile
>> it.  Unless it breaks, I see no reason to change this.
> Indeed that's only a warning, and I should have provided config.err. So
> here it is attached.
> Maybe using pkg-config --libs x264 would better help determining that
> -lpthread is needed to link?

No, that wouldn't be safe.  We have to use -pthread when compiling or
strange things can legitimately happen.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list