diff options
-rw-r--r-- | libavformat/hlsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 07aa4ff..55074c7 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -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; |