[FFmpeg-devel] [PATCH 03/37] avformat/matroskadec: Compactify structure
Michael Niedermayer
michael at niedermayer.cc
Fri Jun 7 22:30:18 EEST 2019
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 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 at gmail.com>
> ---
> libavformat/matroskadec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
"You are 36 times more likely to die in a bathtub than at the hands of a
terrorist. Also, you are 2.5 times more likely to become a president and
2 times more likely to become an astronaut, than to die in a terrorist
attack." -- Thoughty2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190607/7079500a/attachment.sig>
More information about the ffmpeg-devel
mailing list