mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-12-02 16:46:48 +00:00
lavf/hlsenc: reuse pattern string, rather than redefining it
Improve robustness.
This commit is contained in:
parent
005b360b9c
commit
60c801c679
@ -215,7 +215,7 @@ static int hls_write_header(AVFormatContext *s)
|
||||
if (p)
|
||||
*p = '\0';
|
||||
|
||||
av_strlcat(hls->basename, "%d.ts", basename_size);
|
||||
av_strlcat(hls->basename, pattern, basename_size);
|
||||
|
||||
if ((ret = hls_mux_init(s)) < 0)
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user