[vlc-devel] FFmpeg includes
jb at videolan.org
Tue Mar 11 09:06:19 CET 2008
On Tue, Mar 11, 2008, Jean-Paul Saman wrote :
> Your patch is wrong. Just use the same as in the master branch:
> #ifdef HAVE_LIBAVCODEC_AVCODEC_H
> # include <libavcodec/avcodec.h>
> #elif defined(HAVE_FFMPEG_AVCODEC_H)
> # include <ffmpeg/avcodec.h>
> # include <avcodec.h>
Yes, this doesn't work on master branch, in my trunk if I use ffmpeg
with ffmpeg-tree and not preinstalled.
Here is why:
HAVE_LIBAVCODEC_AVCODEC_H and HAVE_FFMPEG_AVCODEC_H are not defined in
configure.ac if you use ffmpeg-tree.
Therefore, it goes to the last part...
but <avcodec.h> is not in any normal include tree then since it is in
> And patch your configure.ac to detect the libavcodec/avcodec.h
How ? I don't get how to tell AC_CHECK_HEADERS to look inside
There is something I don't get then...
More information about the vlc-devel