Browse Source

lavf/mxfdec: use more widely supported time format string

MSVC lacks support for %T and %F, but the standard specifies them
only as shorthands to the long variants.

Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Hendrik Leppkes Michael Niedermayer 12 years ago
parent
commit
8da2a3aba3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mxfdec.c

+ 1
- 1
libavformat/mxfdec.c View File

@@ -1671,7 +1671,7 @@ static int mxf_timestamp_to_str(uint64_t timestamp, char **str)
*str = av_mallocz(32); *str = av_mallocz(32);
if (!*str) if (!*str)
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
strftime(*str, 32, "%F %T", &time);
strftime(*str, 32, "%Y-%m-%d %H:%M:%S", &time);


return 0; return 0;
} }


Loading…
Cancel
Save