summaryrefslogtreecommitdiffstats
path: root/sub/sd_lavc_conv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/sd_lavc_conv.c')
-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;