From 4c70acb313cc8b0a5cc769e736ee30726af90cec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20Ni=C3=9Fl?= Date: Sat, 1 Mar 2008 16:42:09 +0100 Subject: Support the new FFmpeg include layout. Now the same include directive should work for both internal and external FFmpeg (with new layout). --- src/post/planar/pp.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 +#ifdef HAVE_FFMPEG_AVCODEC_H +# include +#else +# include +#endif + #define PP_STRING_SIZE 256 /* size of pp mode string (including all options) */ /* plugin class initialization function */ -- cgit v1.2.3