Browse Source

hlsenc: Don't duplicate a string constant

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n1.1
Martin Storsjö 12 years ago
parent
commit
4a9f7d2bf9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/hlsenc.c

+ 1
- 1
libavformat/hlsenc.c View File

@@ -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;


Loading…
Cancel
Save