From 8da2a3aba3a7f51daf841c77cb6183a0d6dd528e Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Sat, 13 Apr 2013 15:45:56 +0200 Subject: [PATCH] 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 Signed-off-by: Michael Niedermayer --- libavformat/mxfdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index adc5c68a0b..630675625c 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -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; }