Signed-off-by: Steven Liu <[email protected]>
---
libavformat/hlsenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index df84e6487d..1d816a61e6 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -1723,7 +1723,7 @@ static int hls_start(AVFormatContext *s, VariantStream
*vs)
}
if (c->flags & HLS_SINGLE_FILE) {
set_http_options(s, &options, c);
- if ((err = hlsenc_io_open(s, &vs->out, oc->url, &options)) < 0) {
+ if ((err = hlsenc_io_open(s, &vs->out, vs->basename, &options)) <
0) {
if (c->ignore_io_errors)
err = 0;
goto fail;
--
2.25.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".