Re: [FFmpeg-devel] [PATCH 03/37] avformat/matroskadec: Compactify structure

2019-06-07 Thread Michael Niedermayer
On Fri, May 17, 2019 at 12:29:47AM +0200, Andreas Rheinhardt wrote: > 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

[FFmpeg-devel] [PATCH 03/37] avformat/matroskadec: Compactify structure

2019-05-16 Thread Andreas Rheinhardt
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