summaryrefslogtreecommitdiff
path: root/src/libffmpeg/ff_video_decoder.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-03-01 02:45:44 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-03-01 02:45:44 +0100
commitfb54f247855376800b65585e5868cd4d2062c0a2 (patch)
tree5c15377efa4fa510043d7001a8cbd2f5ded5a4ca /src/libffmpeg/ff_video_decoder.c
parent2e5c9c79a47efe0df60aaea17569ea9f32d347a6 (diff)
downloadxine-lib-fb54f247855376800b65585e5868cd4d2062c0a2.tar.gz
xine-lib-fb54f247855376800b65585e5868cd4d2062c0a2.tar.bz2
Support the new FFmpeg include layout. Now the same include directive should work for both internal and external FFmpeg (with new layout).
Diffstat (limited to 'src/libffmpeg/ff_video_decoder.c')
-rw-r--r--src/libffmpeg/ff_video_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libffmpeg/ff_video_decoder.c b/src/libffmpeg/ff_video_decoder.c
index dc07abb9f..d1d69416e 100644
--- a/src/libffmpeg/ff_video_decoder.c
+++ b/src/libffmpeg/ff_video_decoder.c
@@ -45,10 +45,10 @@
#include "ffmpeg_decoder.h"
#include "ff_mpeg_parser.h"
-#ifdef HAVE_FFMPEG
+#ifdef HAVE_FFMPEG_AVCODEC_H
# include <postprocess.h>
#else
-# include "libavcodec/libpostproc/postprocess.h"
+# include <libpostproc/postprocess.h>
#endif
#define VIDEOBUFSIZE (128*1024)