[FFmpeg-cvslog] asf: Use time_t where needed

Luca Barbato git at videolan.org
Fri Aug 7 09:28:16 CEST 2015


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Tue Aug  4 21:40:04 2015 +0200| [e5997152f54f790229c99f237f8eb6b5b1ee683a] | committer: Luca Barbato

asf: Use time_t where needed

gmtime takes a time_t not an uint64_t.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e5997152f54f790229c99f237f8eb6b5b1ee683a
---

 libavformat/asfdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index 70f54e0..93e8c3c 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -641,7 +641,7 @@ static int asf_read_properties(AVFormatContext *s, const GUIDParseTable *g)
 {
     ASFContext *asf = s->priv_data;
     AVIOContext *pb = s->pb;
-    uint64_t creation_time;
+    time_t creation_time;
 
     avio_rl64(pb); // read object size
     avio_skip(pb, 16); // skip File ID



More information about the ffmpeg-cvslog mailing list