OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3193b13
)
hlsenc: Don't duplicate a string constant
author
Martin Storsjö
<martin@martin.st>
Sun, 23 Dec 2012 19:34:06 +0000
(21:34 +0200)
committer
Martin Storsjö
<martin@martin.st>
Sun, 23 Dec 2012 22:02:48 +0000
(
00:02
+0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/hlsenc.c
patch
|
blob
|
history
diff --git
a/libavformat/hlsenc.c
b/libavformat/hlsenc.c
index
c5157dc
..
eade740
100644
(file)
--- 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;