ffmpeg | branch: master | Peter Ross <[email protected]> | Mon Jul 1 22:00:24 2019 +1000| [9654e97572decb58d0effbfa8d0a0ede3cbe2d95] | committer: Peter Ross
ifv: populate creation_time Reviewed-by: Carl Eugen Hoyos <[email protected]> Signed-off-by: Peter Ross <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9654e97572decb58d0effbfa8d0a0ede3cbe2d95 --- libavformat/ifv.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/ifv.c b/libavformat/ifv.c index 03c682bb9d..6acbb29a75 100644 --- a/libavformat/ifv.c +++ b/libavformat/ifv.c @@ -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); _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
