Browse Source

Merge commit '1ae6cb7d6e4fee30754a46bc91f40ff75ac4412a'

* commit '1ae6cb7d6e4fee30754a46bc91f40ff75ac4412a':
  dashenc: fix ISO8601 UTC parsing

Merged-by: Clément Bœsch <u@pkh.me>
tags/n3.4
Clément Bœsch 8 years ago
parent
commit
93bf0480c2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/dashenc.c

+ 1
- 1
libavformat/dashenc.c View File

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


Loading…
Cancel
Save