1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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>
This commit is contained in:
Hendrik Leppkes 2013-04-13 15:45:56 +02:00 committed by Michael Niedermayer
parent cac309611c
commit 8da2a3aba3

View File

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