Commit 4a9f7d2b authored by Martin Storsjö's avatar Martin Storsjö

hlsenc: Don't duplicate a string constant

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 3193b13a
......@@ -219,7 +219,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment