summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-13 12:47:19 +0100
committerwm4 <wm4@nowhere>2012-12-13 12:49:27 +0100
commit61aef3fff983416b06d7141bea5d75ec63b32bb9 (patch)
treed7fa0c20f6c2451fe07003667ef1919f0d5b32b7 /compat
parentc3f8c9a58e3028777466ce0d3f56374efb10f968 (diff)
downloadmpv-61aef3fff983416b06d7141bea5d75ec63b32bb9.tar.bz2
mpv-61aef3fff983416b06d7141bea5d75ec63b32bb9.tar.xz
Fix compilation with ffmpeg 1.0
AVPROBE_SCORE_RETRY was too new, and doesn't even exist in Libav. Go back to using the value explicitly.
Diffstat (limited to 'compat')
-rw-r--r--compat/libav.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/compat/libav.h b/compat/libav.h
index 6546a76755..9dd0ee7887 100644
--- a/compat/libav.h
+++ b/compat/libav.h
@@ -40,10 +40,6 @@
#define avcodec_free_frame av_freep
#endif
-#if LIBAVFORMAT_VERSION_MICRO < 100
-#define AVPROBE_SCORE_RETRY (AVPROBE_SCORE_MAX/4)
-#endif
-
// For Libav 0.9
#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(54, 2, 100)
#define AV_DISPOSITION_ATTACHED_PIC 0x0400