]> git.sesse.net Git - ffmpeg/commitdiff
asf: Use time_t where needed
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 4 Aug 2015 19:40:04 +0000 (21:40 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 4 Aug 2015 19:40:04 +0000 (21:40 +0200)
gmtime takes a time_t not an uint64_t.

libavformat/asfdec.c

index 70f54e04f6c4aac92788b7ab35942eabf009c988..93e8c3cdfa9b739028633080933410771e4d3892 100644 (file)
@@ -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