aboutsummaryrefslogtreecommitdiffstats
path: root/tests/audiogen.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-15 07:43:03 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-19 11:22:34 +0100
commit5e186f9693db11dc720afa867659afee978b02d8 (patch)
tree36b27bdc0fb9653d91aa3c1124f882700b7dd271 /tests/audiogen.c
parentca168635494276bb7f2f686de07747e7f493e30c (diff)
downloadffmpeg-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/audiogen.c')
0 files changed, 0 insertions, 0 deletions