Browse Source

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>
tags/n4.3
Andreas Rheinhardt Steven Liu 5 years ago
parent
commit
74a8be3546
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/hlsenc.c

+ 1
- 1
libavformat/hlsenc.c View File

@@ -2811,7 +2811,7 @@ static int hls_init(AVFormatContext *s)


if (vs->has_subtitle) { if (vs->has_subtitle) {
vs->vtt_oformat = av_guess_format("webvtt", NULL, NULL); vs->vtt_oformat = av_guess_format("webvtt", NULL, NULL);
if (!vs->oformat) {
if (!vs->vtt_oformat) {
ret = AVERROR_MUXER_NOT_FOUND; ret = AVERROR_MUXER_NOT_FOUND;
goto fail; goto fail;
} }


Loading…
Cancel
Save