aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/hevc-conformance-MAXBINS_C_TI_4
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-14 01:18:24 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-19 11:40:56 +0100
commit6b1968e939472125f97947fe62a534364212f573 (patch)
tree25529c20521c1251e9d9a68841791d39f6c02369 /tests/ref/fate/hevc-conformance-MAXBINS_C_TI_4
parentdc555de823ac7e9be73dddafda26e4b15ea1cc3f (diff)
downloadffmpeg-6b1968e939472125f97947fe62a534364212f573.tar.gz
avformat/matroskaenc: Avoid seeks when writing EBML header
Using start/end_ebml_master() to write an EBML Master element uses seeks under the hood. This does not work if the output is unseekable with the AVIOContext's buffer being very small (the size of the currently written Matroska EBML header is 40) or with the AVIOContext being in direct mode, because then this seek can't be performed in the AVIOContext's buffer. So using an approach that does not rely on seeking at all is preferable; this is achieved by switching to EbmlWriter. Also factor writing the EBML header out into a function of its own. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/ref/fate/hevc-conformance-MAXBINS_C_TI_4')
0 files changed, 0 insertions, 0 deletions