1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-14 22:22:59 +02:00
FFmpeg/libavformat
Andreas Rheinhardt 8b7964f8f8 avformat/matroskaenc: Fix BlockGroup size calculation
The earlier code included the size of the BlockGroup's length field and
the EBML ID in the calculation of the size for the payload and ignored
the size of the  duration's length field. This meant that Blockgroups
corresponding to packets with size 2^(7n) - 17 - n - i, i = 0,..., n - 1,
n = 1,..., 8 (i.e. 110, 16364, 16365, 2097130..2097132, ...) were written
with length fields that are unnecessarily long.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2019-05-08 13:02:28 -03:00
..
2018-05-06 15:07:28 +08:00
2019-03-20 18:38:48 +01:00
2018-12-13 18:58:48 +01:00
2019-05-03 10:18:53 +05:30
2019-03-20 18:38:48 +01:00
2018-09-11 21:48:49 +01:00
2019-04-13 18:10:11 +02:00
2018-05-21 19:43:04 -03:00
2018-05-21 19:43:04 -03:00
2019-03-20 18:38:48 +01:00
2019-04-19 17:14:44 +02:00