summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-04-13 15:45:56 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-13 16:45:56 +0200
commit8da2a3aba3a7f51daf841c77cb6183a0d6dd528e (patch)
tree99c0ba7c094bc270116d13edf79e941117c207bb /libavformat
parentcac309611cf3f074a367866fb4cd5d7286f1a6b6 (diff)
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>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mxfdec.c2
1 files changed, 1 insertions, 1 deletions
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;
}