diff options
author | Clément Bœsch <u@pkh.me> | 2017-05-20 16:32:20 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-05-20 16:32:20 +0200 |
commit | 93bf0480c2dba12990f92cdf1927da2ff64db0cd (patch) | |
tree | 0c20ae06fbf7bf57db253b3dc5f47a9c62bbbfe7 /libavformat/dashenc.c | |
parent | 068d91885ffdc858796ef73ada2a88b8313d9465 (diff) | |
parent | 1ae6cb7d6e4fee30754a46bc91f40ff75ac4412a (diff) |
Merge commit '1ae6cb7d6e4fee30754a46bc91f40ff75ac4412a'
* commit '1ae6cb7d6e4fee30754a46bc91f40ff75ac4412a':
dashenc: fix ISO8601 UTC parsing
Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavformat/dashenc.c')
-rw-r--r-- | libavformat/dashenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 6232c70da2..fe1d6c2409 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -433,7 +433,7 @@ static void format_date_now(char *buf, int size) struct tm *ptm, tmbuf; ptm = gmtime_r(&t, &tmbuf); if (ptm) { - if (!strftime(buf, size, "%Y-%m-%dT%H:%M:%S", ptm)) + if (!strftime(buf, size, "%Y-%m-%dT%H:%M:%SZ", ptm)) buf[0] = '\0'; } } |