avformat/matroskadec: Use file offsets for level 1 elements
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 16 May 2019 22:30:20 +0000 (00:30 +0200)
committerJames Almer <jamrial@gmail.com>
Tue, 16 Jul 2019 19:18:10 +0000 (16:18 -0300)
commit730ac1ae803925777702eeaef4d1b8b796126e8f
treeac46a0a2ed0e21a400fab7d8c826736bd73ac75a
parent6854127a76988e3aa3fafce3c01cb098f80f4bef
avformat/matroskadec: Use file offsets for level 1 elements

This commit converts the MatroskaLevel1Element struct to use file-based
offsets, as opposed to the current practice of using offsets relative to
the beginning of the segment in it. This also includes a change from
uint64_t to int64_t.

This is in preparation to another patch that improves the check for
duplicate level 1 elements.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/matroskadec.c