Commit 8da2a3ab authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Michael Niedermayer

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: 's avatarMatthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cac30961
...@@ -1671,7 +1671,7 @@ static int mxf_timestamp_to_str(uint64_t timestamp, char **str) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment