avformat/matroskadec: Compactify structure
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 16 May 2019 22:29:47 +0000 (00:29 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 7 Jun 2019 17:58:15 +0000 (19:58 +0200)
commit410a0824f07ac4a526f633409cf893a897d2269c
tree425f7792ce8d34f950665584d9f527217051a408
parentf767c68b3483cdcfd80f1510e1dbf539ee3ca69d
avformat/matroskadec: Compactify structure

Matroska EBML IDs can be only four bytes long maximally, so it is
natural to use uint32_t for them. By doing this and rearranging the
elements of the MatroskaLevel1Element structure, one can reduce the size
of said structure.

Notice that this field is not read via the generic reading process for
EBML_UINT, so one is not forced to use an uint64_t for it.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/matroskadec.c