summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-16 10:04:46 +0100
committerwm4 <wm4@nowhere>2014-03-16 13:19:28 +0100
commit64c01a814c8f7cf4a780b89fe00ed608b1f93e2b (patch)
tree00d3a7f8b6110cdc60da2bebb99f76de46696b95 /sub
parent5506c8d0f6450133d33e940fcdeaecc25564092a (diff)
downloadmpv-64c01a814c8f7cf4a780b89fe00ed608b1f93e2b.tar.bz2
mpv-64c01a814c8f7cf4a780b89fe00ed608b1f93e2b.tar.xz
Remove some more unneeded version checks
All of these check against things that happened before the latest supported FFmpeg/Libav release.
Diffstat (limited to 'sub')
-rw-r--r--sub/sd_lavc_conv.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sub/sd_lavc_conv.c b/sub/sd_lavc_conv.c
index 566f412cf5..3414d66b25 100644
--- a/sub/sd_lavc_conv.c
+++ b/sub/sd_lavc_conv.c
@@ -30,11 +30,7 @@
#include "bstr/bstr.h"
#include "sd.h"
-#if LIBAVCODEC_VERSION_MICRO >= 100
-#define HAVE_AV_WEBVTT (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 13, 100))
-#else
-#define HAVE_AV_WEBVTT 0
-#endif
+#define HAVE_AV_WEBVTT (LIBAVCODEC_VERSION_MICRO >= 100)
struct sd_lavc_priv {
AVCodecContext *avctx;