summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Nißl <rnissl@gmx.de>2008-03-01 16:42:09 +0100
committerReinhard Nißl <rnissl@gmx.de>2008-03-01 16:42:09 +0100
commit4c70acb313cc8b0a5cc769e736ee30726af90cec (patch)
treeb4a85a347bdda09874c9a01d63d923d1006033b3
parentfb54f247855376800b65585e5868cd4d2062c0a2 (diff)
downloadxine-lib-4c70acb313cc8b0a5cc769e736ee30726af90cec.tar.gz
xine-lib-4c70acb313cc8b0a5cc769e736ee30726af90cec.tar.bz2
Support the new FFmpeg include layout. Now the same include directive should work for both internal and external FFmpeg (with new layout).
-rw-r--r--src/post/planar/pp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/post/planar/pp.c b/src/post/planar/pp.c
index e13119311..bc7cc1928 100644
--- a/src/post/planar/pp.c
+++ b/src/post/planar/pp.c
@@ -23,9 +23,14 @@
#include "xine_internal.h"
#include "post.h"
#include "xineutils.h"
-#include "postprocess.h"
#include <pthread.h>
+#ifdef HAVE_FFMPEG_AVCODEC_H
+# include <postprocess.h>
+#else
+# include <libpostproc/postprocess.h>
+#endif
+
#define PP_STRING_SIZE 256 /* size of pp mode string (including all options) */
/* plugin class initialization function */