[FFmpeg-devel] [PATCH 13/16] avformat/hlsenc: Fix check for presence of webvtt muxer
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Mon Dec 16 02:04:15 EET 2019
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavformat/hlsenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index d738b08a3f..c612c3bbb8 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -2819,7 +2819,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;
}
--
2.20.1
More information about the ffmpeg-devel
mailing list