summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-01-31 17:41:29 +0100
committerwm4 <wm4@nowhere>2013-01-31 17:42:21 +0100
commit4a2e4b684a6f0a20578c73b76b8a2f300610acae (patch)
treeef86674b550c7523675103c332f133f4ba704a64 /compat
parentd4246353df6470e24d870dab8532a905e853601e (diff)
downloadmpv-4a2e4b684a6f0a20578c73b76b8a2f300610acae.tar.bz2
mpv-4a2e4b684a6f0a20578c73b76b8a2f300610acae.tar.xz
build: make it work on somewhat older ffmpeg versions
Tested with n0.10.4. All these version checks are rather tricky, because Libav and FFmpeg change the same thing at slightly different versions.
Diffstat (limited to 'compat')
-rw-r--r--compat/libav.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/libav.h b/compat/libav.h
index 9dd0ee7887..62ce1bb529 100644
--- a/compat/libav.h
+++ b/compat/libav.h
@@ -32,7 +32,7 @@
#define AV_CODEC_ID_SUBRIP CODEC_ID_TEXT
#endif
-#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(51, 27, 0)
+#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(51, 36, 0)
#define av_get_packed_sample_fmt(x) (x)
#endif