You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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>
This commit is contained in:
committed by
Steven Liu
parent
5ba3a8958c
commit
74a8be3546
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user