summaryrefslogtreecommitdiff
path: root/src/combined/ffmpeg/ff_video_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/combined/ffmpeg/ff_video_decoder.c')
-rw-r--r--src/combined/ffmpeg/ff_video_decoder.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/combined/ffmpeg/ff_video_decoder.c b/src/combined/ffmpeg/ff_video_decoder.c
index b7a5338fc..845ef5d79 100644
--- a/src/combined/ffmpeg/ff_video_decoder.c
+++ b/src/combined/ffmpeg/ff_video_decoder.c
@@ -47,7 +47,11 @@
#include "ffmpeg_decoder.h"
#include "ff_mpeg_parser.h"
-#include <postprocess.h>
+#ifdef HAVE_FFMPEG_AVCODEC_H
+# include <postprocess.h>
+#else
+# include <libpostproc/postprocess.h>
+#endif
#define VIDEOBUFSIZE (128*1024)
#define SLICE_BUFFER_SIZE (1194*1024)