Merge commit '1ae6cb7d6e4fee30754a46bc91f40ff75ac4412a'
authorClément Bœsch <u@pkh.me>
Sat, 20 May 2017 14:32:20 +0000 (16:32 +0200)
committerClément Bœsch <u@pkh.me>
Sat, 20 May 2017 14:32:20 +0000 (16:32 +0200)
* commit '1ae6cb7d6e4fee30754a46bc91f40ff75ac4412a':
  dashenc: fix ISO8601 UTC parsing

Merged-by: Clément Bœsch <u@pkh.me>
libavformat/dashenc.c

index 6232c70..fe1d6c2 100644 (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';
     }
 }