1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

ifv: populate creation_time

Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: Peter Ross <pross@xvid.org>
This commit is contained in:
Peter Ross 2019-07-01 22:00:24 +10:00
parent 93a73df54d
commit 9654e97572

View File

@ -90,7 +90,10 @@ static int parse_header(AVFormatContext *s)
uint32_t aud_magic;
uint32_t vid_magic;
avio_skip(s->pb, 0x5c);
avio_skip(s->pb, 0x34);
avpriv_dict_set_timestamp(&s->metadata, "creation_time", avio_rl32(s->pb) * 1000000LL);
avio_skip(s->pb, 0x24);
ifv->width = avio_rl16(s->pb);
ifv->height = avio_rl16(s->pb);