summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
Diffstat (limited to 'sub')
-rw-r--r--sub/av_sub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sub/av_sub.c b/sub/av_sub.c
index fdef2a57f5..0d8c14db60 100644
--- a/sub/av_sub.c
+++ b/sub/av_sub.c
@@ -110,9 +110,7 @@ int decode_avsub(struct sh_sub *sh, uint8_t *data, int size,
break;
}
}
-#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52, 82, 0)
if (got_sub)
avsubtitle_free(&sub);
-#endif
return res;
}