summaryrefslogtreecommitdiffstats
path: root/sub/lavc_conv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/lavc_conv.c')
-rw-r--r--sub/lavc_conv.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sub/lavc_conv.c b/sub/lavc_conv.c
index 7e2ed4ef25..b244240d7c 100644
--- a/sub/lavc_conv.c
+++ b/sub/lavc_conv.c
@@ -49,15 +49,6 @@ static const char *get_lavc_format(const char *format)
return format;
}
-bool lavc_conv_supports_format(const char *format)
-{
- format = get_lavc_format(format);
- enum AVCodecID cid = mp_codec_to_av_codec_id(format);
- AVCodec *codec = avcodec_find_decoder(cid);
- const AVCodecDescriptor *desc = avcodec_descriptor_get(cid);
- return codec && desc && desc->type == AVMEDIA_TYPE_SUBTITLE;
-}
-
// Disable style definitions generated by the libavcodec converter.
// We always want the user defined style instead.
static void disable_styles(bstr header)