Commit d1a04e1f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

FFmpeg: remove support for misplaced headers

This should have been gone since 0.5
parent 4c35990d
...@@ -2473,8 +2473,8 @@ AS_IF([test "${enable_avcodec}" != "no"], [ ...@@ -2473,8 +2473,8 @@ AS_IF([test "${enable_avcodec}" != "no"], [
VLC_SAVE_FLAGS VLC_SAVE_FLAGS
CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}" CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}"
CFLAGS="${CFLAGS} ${AVCODEC_CFLAGS}" CFLAGS="${CFLAGS} ${AVCODEC_CFLAGS}"
AC_CHECK_HEADERS(libavcodec/avcodec.h ffmpeg/avcodec.h) AC_CHECK_HEADERS(libavcodec/avcodec.h)
AC_CHECK_HEADERS(libavutil/avutil.h ffmpeg/avutil.h) AC_CHECK_HEADERS(libavutil/avutil.h)
VLC_ADD_PLUGIN([avcodec]) VLC_ADD_PLUGIN([avcodec])
VLC_ADD_LIBS([avcodec],[$AVCODEC_LIBS]) VLC_ADD_LIBS([avcodec],[$AVCODEC_LIBS])
AS_IF([test "${ac_cv_ld_bsymbolic}" != "no"], [ AS_IF([test "${ac_cv_ld_bsymbolic}" != "no"], [
...@@ -2590,8 +2590,8 @@ then ...@@ -2590,8 +2590,8 @@ then
VLC_SAVE_FLAGS VLC_SAVE_FLAGS
CPPFLAGS="${CPPFLAGS} ${AVFORMAT_CFLAGS}" CPPFLAGS="${CPPFLAGS} ${AVFORMAT_CFLAGS}"
CFLAGS="${CFLAGS} ${AVFORMAT_CFLAGS}" CFLAGS="${CFLAGS} ${AVFORMAT_CFLAGS}"
AC_CHECK_HEADERS(libavformat/avformat.h ffmpeg/avformat.h libavformat/avio.h) AC_CHECK_HEADERS(libavformat/avformat.h libavformat/avio.h)
AC_CHECK_HEADERS(libavutil/avutil.h ffmpeg/avutil.h) AC_CHECK_HEADERS(libavutil/avutil.h)
AS_IF([test "$enable_merge_ffmpeg" = "no"], [ AS_IF([test "$enable_merge_ffmpeg" = "no"], [
VLC_ADD_PLUGIN([avformat access_avio]) VLC_ADD_PLUGIN([avformat access_avio])
VLC_ADD_LIBS([avformat access_avio],[$AVFORMAT_LIBS $AVUTIL_LIBS]) VLC_ADD_LIBS([avformat access_avio],[$AVFORMAT_LIBS $AVUTIL_LIBS])
...@@ -2623,7 +2623,7 @@ then ...@@ -2623,7 +2623,7 @@ then
VLC_SAVE_FLAGS VLC_SAVE_FLAGS
CPPFLAGS="${CPPFLAGS} ${SWSCALE_CFLAGS}" CPPFLAGS="${CPPFLAGS} ${SWSCALE_CFLAGS}"
CFLAGS="${CFLAGS} ${SWSCALE_CFLAGS}" CFLAGS="${CFLAGS} ${SWSCALE_CFLAGS}"
AC_CHECK_HEADERS(libswscale/swscale.h ffmpeg/swscale.h) AC_CHECK_HEADERS(libswscale/swscale.h)
VLC_ADD_PLUGIN([swscale]) VLC_ADD_PLUGIN([swscale])
VLC_ADD_LIBS([swscale],[$SWSCALE_LIBS]) VLC_ADD_LIBS([swscale],[$SWSCALE_LIBS])
VLC_ADD_CFLAGS([swscale],[$SWSCALE_CFLAGS]) VLC_ADD_CFLAGS([swscale],[$SWSCALE_CFLAGS])
......
...@@ -37,8 +37,6 @@ ...@@ -37,8 +37,6 @@
/* ffmpeg header */ /* ffmpeg header */
#ifdef HAVE_LIBAVCODEC_AVCODEC_H #ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h> # include <libavcodec/avcodec.h>
#elif defined(HAVE_FFMPEG_AVCODEC_H)
# include <ffmpeg/avcodec.h>
#else #else
# include <avcodec.h> # include <avcodec.h>
#endif #endif
......
...@@ -39,8 +39,6 @@ ...@@ -39,8 +39,6 @@
#define HAVE_MMX 1 #define HAVE_MMX 1
#ifdef HAVE_LIBAVCODEC_AVCODEC_H #ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h> # include <libavcodec/avcodec.h>
#elif defined(HAVE_FFMPEG_AVCODEC_H)
# include <ffmpeg/avcodec.h>
#else #else
# include <avcodec.h> # include <avcodec.h>
#endif #endif
......
...@@ -36,8 +36,6 @@ ...@@ -36,8 +36,6 @@
/* ffmpeg header */ /* ffmpeg header */
#ifdef HAVE_LIBAVCODEC_AVCODEC_H #ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h> # include <libavcodec/avcodec.h>
#elif defined(HAVE_FFMPEG_AVCODEC_H)
# include <ffmpeg/avcodec.h>
#else #else
# include <avcodec.h> # include <avcodec.h>
#endif #endif
......
...@@ -39,8 +39,6 @@ ...@@ -39,8 +39,6 @@
# define DXVA2API_USE_BITFIELDS # define DXVA2API_USE_BITFIELDS
# include <libavcodec/dxva2.h> # include <libavcodec/dxva2.h>
# endif # endif
#elif defined(HAVE_FFMPEG_AVCODEC_H)
# include <ffmpeg/avcodec.h>
#else #else
# include <avcodec.h> # include <avcodec.h>
#endif #endif
......
...@@ -44,8 +44,6 @@ ...@@ -44,8 +44,6 @@
#define HAVE_MMX 1 #define HAVE_MMX 1
#ifdef HAVE_LIBAVCODEC_AVCODEC_H #ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h> # include <libavcodec/avcodec.h>
#elif defined(HAVE_FFMPEG_AVCODEC_H)
# include <ffmpeg/avcodec.h>
#else #else
# include <avcodec.h> # include <avcodec.h>
#endif #endif
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
#ifdef HAVE_LIBAVCODEC_AVCODEC_H #ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h> # include <libavcodec/avcodec.h>
#elif defined(HAVE_FFMPEG_AVCODEC_H)
# include <ffmpeg/avcodec.h>
#else #else
# include <avcodec.h> # include <avcodec.h>
#endif #endif
......
...@@ -39,8 +39,6 @@ ...@@ -39,8 +39,6 @@
# ifdef HAVE_AVCODEC_VAAPI # ifdef HAVE_AVCODEC_VAAPI
# include <libavcodec/vaapi.h> # include <libavcodec/vaapi.h>
# endif # endif
#elif defined(HAVE_FFMPEG_AVCODEC_H)
# include <ffmpeg/avcodec.h>
#else #else
# include <avcodec.h> # include <avcodec.h>
#endif #endif
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
#ifdef HAVE_LIBAVCODEC_AVCODEC_H #ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h> # include <libavcodec/avcodec.h>
#elif defined(HAVE_FFMPEG_AVCODEC_H)
# include <ffmpeg/avcodec.h>
#else #else
# include <avcodec.h> # include <avcodec.h>
#endif #endif
......
...@@ -38,12 +38,7 @@ ...@@ -38,12 +38,7 @@
#include <vlc_charset.h> #include <vlc_charset.h>
#include <vlc_avcodec.h> #include <vlc_avcodec.h>
/* ffmpeg header */ #include <libavformat/avformat.h>
#if defined(HAVE_LIBAVFORMAT_AVFORMAT_H)
# include <libavformat/avformat.h>
#elif defined(HAVE_FFMPEG_AVFORMAT_H)
# include <ffmpeg/avformat.h>
#endif
#include "../../codec/avcodec/avcodec.h" #include "../../codec/avcodec/avcodec.h"
#include "../../codec/avcodec/chroma.h" #include "../../codec/avcodec/chroma.h"
......
...@@ -33,12 +33,7 @@ ...@@ -33,12 +33,7 @@
#include <vlc_block.h> #include <vlc_block.h>
#include <vlc_sout.h> #include <vlc_sout.h>
/* ffmpeg header */ #include <libavformat/avformat.h>
#ifdef HAVE_LIBAVFORMAT_AVFORMAT_H
# include <libavformat/avformat.h>
#elif defined(HAVE_FFMPEG_AVFORMAT_H)
# include <ffmpeg/avformat.h>
#endif
#include "avformat.h" #include "avformat.h"
#include "../../codec/avcodec/avcodec.h" #include "../../codec/avcodec/avcodec.h"
......
...@@ -35,11 +35,7 @@ ...@@ -35,11 +35,7 @@
#include <vlc_filter.h> #include <vlc_filter.h>
#include <vlc_cpu.h> #include <vlc_cpu.h>
#ifdef HAVE_LIBSWSCALE_SWSCALE_H #include <libswscale/swscale.h>
# include <libswscale/swscale.h>
#elif defined(HAVE_FFMPEG_SWSCALE_H)
# include <ffmpeg/swscale.h>
#endif
#include "../codec/avcodec/chroma.h" // Chroma Avutil <-> VLC conversion #include "../codec/avcodec/chroma.h" // Chroma Avutil <-> VLC conversion
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment