提交 9654e975 编写于 作者: P Peter Ross

ifv: populate creation_time

Reviewed-by: NCarl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: NPeter Ross <pross@xvid.org>
上级 93a73df5
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册