[vlc-devel] FFmpeg includes
Jean-Paul Saman
jean-paul.saman at planet.nl
Tue Mar 11 08:59:22 CET 2008
Jean-Baptiste Kempf wrote:
> Hello,
>
> All the latest includes change in FFmpeg and new tests made by
> riquedafreak broke totally my build, with uses --with-ffmpeg-tree=
>
> Here is a patch that fixes that, but I am not sure it will not break
> others configurations so her it is.
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>
#else
# include <avcodec.h>
#endif
And patch your configure.ac to detect the libavcodec/avcodec.h
Gtz
Jean-Paul Saman.
More information about the vlc-devel
mailing list