diff options
author | Bela Bodecs <bodecsb@vivanet.hu> | 2017-01-05 19:25:38 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2017-01-05 19:25:38 +0800 |
commit | 4c63910bdbf04ce4ed80a870d676877fc031df5a (patch) | |
tree | 70ebfe65e5e3e6e767c758d7aa708f73f0a14971 /libavformat/hlsenc.c | |
parent | e6050d81b0197a59cc56ced312b9d88bc712090d (diff) | |
download | ffmpeg-4c63910bdbf04ce4ed80a870d676877fc031df5a.tar.gz |
vformat/hlsenc: typo in default localtime pattern
in get_default_pattern_localtime_fmt the default pattern contains
%Y%m%d%H%I%S but the original intention was %Y%m%d%H%M%S
Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/hlsenc.c')
-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 eac8308b76..920987f8d4 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -956,7 +956,7 @@ static const char * get_default_pattern_localtime_fmt(void) struct tm *p, tmbuf; p = localtime_r(&t, &tmbuf); // no %s support when strftime returned error or left format string unchanged - return (!strftime(b, sizeof(b), "%s", p) || !strcmp(b, "%s")) ? "-%Y%m%d%H%I%S.ts" : "-%s.ts"; + return (!strftime(b, sizeof(b), "%s", p) || !strcmp(b, "%s")) ? "-%Y%m%d%H%M%S.ts" : "-%s.ts"; } static int hls_write_header(AVFormatContext *s) |