aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc/files/patch-modules_codec_ffmpeg_postprocess.c
blob: 29b5eb3194164f6ea37e92a03cb7493858dae9a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- modules/codec/ffmpeg/postprocess.c.orig	Fri May 13 07:48:21 2005
+++ modules/codec/ffmpeg/postprocess.c	Sat May 14 00:11:53 2005
@@ -35,13 +35,9 @@
 
 #include "ffmpeg.h"
 
-#ifdef LIBAVCODEC_PP
+#if defined(LIBAVCODEC_PP) && LIBAVCODEC_BUILD > 4750
 
-#ifdef HAVE_POSTPROC_POSTPROCESS_H
-#   include <postproc/postprocess.h>
-#else
-#   include <libpostproc/postprocess.h>
-#endif
+#include <ffmpeg/postproc/postprocess.h>
 
 #ifndef PP_CPU_CAPS_ALTIVEC
 #   define PP_CPU_CAPS_ALTIVEC 0