diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-16 01:04:15 +0100 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-12-23 14:05:54 +0800 |
commit | 74a8be3546c54e109ca16639f9863a6cdcd9aead (patch) | |
tree | c5325c25f88949cc88cab0caecc52bda38215f26 /libavformat/hlsenc.c | |
parent | 5ba3a8958c76d5490bcc9ba4441f03bedd9aebc6 (diff) | |
download | ffmpeg-74a8be3546c54e109ca16639f9863a6cdcd9aead.tar.gz |
avformat/hlsenc: Fix check for presence of webvtt muxer
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Steven Liu <lq@onvideo.cn>
Diffstat (limited to 'libavformat/hlsenc.c')
-rw-r--r-- | libavformat/hlsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 20aa1683da..6551e1c234 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2811,7 +2811,7 @@ static int hls_init(AVFormatContext *s) if (vs->has_subtitle) { vs->vtt_oformat = av_guess_format("webvtt", NULL, NULL); - if (!vs->oformat) { + if (!vs->vtt_oformat) { ret = AVERROR_MUXER_NOT_FOUND; goto fail; } |