summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-08-04 21:40:04 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-08-04 21:40:04 +0200
commite5997152f54f790229c99f237f8eb6b5b1ee683a (patch)
treed593f08b4cf1aa3c87d206ff50910aaee128d9fe
parent944f60866f507e3c0850ae9c2f30dac1da54587c (diff)
downloadffmpeg-streaming-e5997152f54f790229c99f237f8eb6b5b1ee683a.zip
ffmpeg-streaming-e5997152f54f790229c99f237f8eb6b5b1ee683a.tar.gz
asf: Use time_t where needed
gmtime takes a time_t not an uint64_t.
-rw-r--r--libavformat/asfdec.c2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud