summaryrefslogtreecommitdiff
path: root/src/libffmpeg
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-03-02 22:16:08 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2008-03-02 22:16:08 +0000
commitc414377fbfa2be0577381c80dd0171061e242905 (patch)
tree8ce66309033e00d31b0d76030984af84c3c4fcf9 /src/libffmpeg
parent6772044da2f3574f09b8f39832710daab249e83f (diff)
downloadxine-lib-c414377fbfa2be0577381c80dd0171061e242905.tar.gz
xine-lib-c414377fbfa2be0577381c80dd0171061e242905.tar.bz2
Fix compilation with older external ffmpeg.
HAVE_FFMPEG_AVUTIL_H wasn't being defined, and there were some incorrect checks.
Diffstat (limited to 'src/libffmpeg')
-rw-r--r--src/libffmpeg/ff_dvaudio_decoder.c2
-rw-r--r--src/libffmpeg/ff_video_decoder.c2
-rw-r--r--src/libffmpeg/ffmpeg_decoder.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libffmpeg/ff_dvaudio_decoder.c b/src/libffmpeg/ff_dvaudio_decoder.c
index a394e6615..5106a402c 100644
--- a/src/libffmpeg/ff_dvaudio_decoder.c
+++ b/src/libffmpeg/ff_dvaudio_decoder.c
@@ -52,7 +52,7 @@
# undef uint64_t
#endif
-#ifdef HAVE_FFMPEG_AVCODEC_H
+#ifdef HAVE_FFMPEG_AVUTIL_H
# include <avcodec.h>
#else
# include <libavcodec/avcodec.h>
diff --git a/src/libffmpeg/ff_video_decoder.c b/src/libffmpeg/ff_video_decoder.c
index d1d69416e..3d9c0225a 100644
--- a/src/libffmpeg/ff_video_decoder.c
+++ b/src/libffmpeg/ff_video_decoder.c
@@ -45,7 +45,7 @@
#include "ffmpeg_decoder.h"
#include "ff_mpeg_parser.h"
-#ifdef HAVE_FFMPEG_AVCODEC_H
+#ifdef HAVE_FFMPEG_AVUTIL_H
# include <postprocess.h>
#else
# include <libpostproc/postprocess.h>
diff --git a/src/libffmpeg/ffmpeg_decoder.h b/src/libffmpeg/ffmpeg_decoder.h
index adf0908dd..6de9e8772 100644
--- a/src/libffmpeg/ffmpeg_decoder.h
+++ b/src/libffmpeg/ffmpeg_decoder.h
@@ -25,7 +25,7 @@
#include "config.h"
#endif
-#ifdef HAVE_FFMPEG_AVCODEC_H
+#ifdef HAVE_FFMPEG_AVUTIL_H
# include <avcodec.h>
#else
# include <libavcodec/avcodec.h>