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
1 changed files with 1 additions and 1 deletions

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