summaryrefslogtreecommitdiff
blob: acfb60584a9669024c7ed3093b7452583e41eaaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- mplayer-1.0~svn34750.orig/libmpcodecs/vd_ffmpeg.c
+++ mplayer-1.0~svn34750/libmpcodecs/vd_ffmpeg.c
@@ -47,6 +47,18 @@
 
 #include "libavcodec/avcodec.h"
 
+#ifndef AV_EF_COMPLIANT
+#define AV_EF_COMPLIANT 0
+#endif
+
+#ifndef AV_EF_CAREFUL
+#define AV_EF_CAREFUL 0
+#endif
+
+#ifndef AV_EF_AGGRESSIVE
+#define AV_EF_AGGRESSIVE 0
+#endif
+
 #if AVPALETTE_SIZE > 1024
 #error palette too large, adapt libmpcodecs/vf.c:vf_get_image
 #endif