diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-04-20 01:40:57 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-05-08 13:02:28 -0300 |
commit | 8b7964f8f83edeb8296086470123050b3546d213 (patch) | |
tree | 130e5296fb4dcceeb0facf752bcfd8b7fb2fca0c /tests/ref/vsynth/vsynth3-mpeg4-adv | |
parent | 4ebeab15b037a21f195696cef1f7522daf42f3ee (diff) | |
download | ffmpeg-8b7964f8f83edeb8296086470123050b3546d213.tar.gz |
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>
Diffstat (limited to 'tests/ref/vsynth/vsynth3-mpeg4-adv')
0 files changed, 0 insertions, 0 deletions