diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-15 07:43:03 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-19 11:22:34 +0100 |
commit | 5e186f9693db11dc720afa867659afee978b02d8 (patch) | |
tree | 36b27bdc0fb9653d91aa3c1124f882700b7dd271 /tests/ref/vsynth/vsynth2-prores | |
parent | ca168635494276bb7f2f686de07747e7f493e30c (diff) | |
download | ffmpeg-5e186f9693db11dc720afa867659afee978b02d8.tar.gz |
avformat/matroskaenc: Don't open BlockGroup twice
This would happen in case non-WebVTT-subtitles had BlockAdditional
or DiscardPadding side-data. Given that these are not accounted for
in the length of the outer BlockGroup (which is a quite sharp upper
bound) it is possible for the outer BlockGroup to use an insufficient
number of bytes which leads to an assert in end_ebml_master().
Fix this by not opening a second BlockGroup inside an already opened
BlockGroup.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/ref/vsynth/vsynth2-prores')
0 files changed, 0 insertions, 0 deletions