[FFmpeg-cvslog] lavf/mxfdec: use more widely supported time format string
Hendrik Leppkes
git at videolan.org
Sat Apr 13 16:57:42 CEST 2013
ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Sat Apr 13 15:45:56 2013 +0200| [8da2a3aba3a7f51daf841c77cb6183a0d6dd528e] | committer: 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: Matthieu Bouron <matthieu.bouron at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8da2a3aba3a7f51daf841c77cb6183a0d6dd528e
---
libavformat/mxfdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index adc5c68..6306756 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;
}
More information about the ffmpeg-cvslog
mailing list