summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-01-08 14:03:42 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-01-08 14:03:42 +0000
commitf774739df9ab4fcc07d1481156a3aea176e66753 (patch)
tree33248cc8e4a29a3b32ea50d407b193882b184114 /libmpdemux
parent3b31501ff75798db5cf841f62e9cac535af9eceb (diff)
downloadmpv-f774739df9ab4fcc07d1481156a3aea176e66753.tar.bz2
mpv-f774739df9ab4fcc07d1481156a3aea176e66753.tar.xz
include the right avcodec.h, consistently with the rest of mplayer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17344 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_asf.c6
-rw-r--r--libmpdemux/demux_real.c6
-rw-r--r--libmpdemux/demux_viv.c6
-rw-r--r--libmpdemux/video.c6
4 files changed, 16 insertions, 8 deletions
diff --git a/libmpdemux/demux_asf.c b/libmpdemux/demux_asf.c
index 2804e846b3..52cb466837 100644
--- a/libmpdemux/demux_asf.c
+++ b/libmpdemux/demux_asf.c
@@ -62,8 +62,10 @@ static void asf_descrambling(unsigned char **src,int len){
*src = dst;
}
-#ifdef USE_LIBAVCODEC
-#include "avcodec.h"
+#ifdef USE_LIBAVCODEC_SO
+#include <ffmpeg/avcodec.h>
+#elif defined(USE_LIBAVCODEC)
+#include "libavcodec/avcodec.h"
#else
#define FF_INPUT_BUFFER_PADDING_SIZE 8
#endif
diff --git a/libmpdemux/demux_real.c b/libmpdemux/demux_real.c
index 914eda1a7d..f52d4d04bd 100644
--- a/libmpdemux/demux_real.c
+++ b/libmpdemux/demux_real.c
@@ -32,8 +32,10 @@ Video codecs: (supported by RealPlayer8 for Linux)
#include "stheader.h"
#include "bswap.h"
-#ifdef USE_LIBAVCODEC
-#include "avcodec.h"
+#ifdef USE_LIBAVCODEC_SO
+#include <ffmpeg/avcodec.h>
+#elif defined(USE_LIBAVCODEC)
+#include "libavcodec/avcodec.h"
#else
#define FF_INPUT_BUFFER_PADDING_SIZE 8
#endif
diff --git a/libmpdemux/demux_viv.c b/libmpdemux/demux_viv.c
index 910a724225..e31f558ee9 100644
--- a/libmpdemux/demux_viv.c
+++ b/libmpdemux/demux_viv.c
@@ -15,8 +15,10 @@
#include "stheader.h"
#include "bswap.h"
-#ifdef USE_LIBAVCODEC
-#include "avcodec.h"
+#ifdef USE_LIBAVCODEC_SO
+#include <ffmpeg/avcodec.h>
+#elif defined(USE_LIBAVCODEC)
+#include "libavcodec/avcodec.h"
#else
#define FF_INPUT_BUFFER_PADDING_SIZE 8
#endif
diff --git a/libmpdemux/video.c b/libmpdemux/video.c
index f03b246fe2..89415fe944 100644
--- a/libmpdemux/video.c
+++ b/libmpdemux/video.c
@@ -22,8 +22,10 @@
/* sub_cc (closed captions)*/
#include "sub_cc.h"
-#ifdef USE_LIBAVCODEC
-#include "avcodec.h"
+#ifdef USE_LIBAVCODEC_SO
+#include <ffmpeg/avcodec.h>
+#elif defined(USE_LIBAVCODEC)
+#include "libavcodec/avcodec.h"
#else
#define FF_INPUT_BUFFER_PADDING_SIZE 8
#endif