hlsenc: Don't duplicate a string constant

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/8/head
Martin Storsjö 12 years ago
parent 3193b13aa1
commit 4a9f7d2bf9
  1. 2
      libavformat/hlsenc.c

@ -219,7 +219,7 @@ static int hls_write_header(AVFormatContext *s)
if (p) if (p)
*p = '\0'; *p = '\0';
av_strlcat(hls->basename, "%d.ts", basename_size); av_strlcat(hls->basename, pattern, basename_size);
if ((ret = hls_mux_init(s)) < 0) if ((ret = hls_mux_init(s)) < 0)
goto fail; goto fail;

Loading…
Cancel
Save