aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/hlsenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-12-23 21:34:06 +0200
committerMartin Storsjö <martin@martin.st>2012-12-24 00:02:48 +0200
commit4a9f7d2bf9fb38c334386deef19ffef58a998cc6 (patch)
tree5761f25ceee7d9320aff2ffd8872b5381bfb5e07 /libavformat/hlsenc.c
parent3193b13aa1e271f6d2dd68de67d448c08aef3c00 (diff)
downloadffmpeg-4a9f7d2bf9fb38c334386deef19ffef58a998cc6.tar.gz
hlsenc: Don't duplicate a string constant
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/hlsenc.c')
-rw-r--r--libavformat/hlsenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index c5157dc6c7..eade740f07 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -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;