summaryrefslogtreecommitdiff
path: root/tests/fate/matroska.mak
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-04-20 01:41:05 +0200
committerJames Almer <jamrial@gmail.com>2019-05-08 13:02:30 -0300
commite04a24e70148e330bcdcfd7c049acbe1a821398f (patch)
tree58c0ad258eabf293d973b83c0ef7b7e8c1d9a773 /tests/fate/matroska.mak
parent8f53fd2dfdea9f5fac4c49e6475e75fc2f59ef1e (diff)
avformat/matroskaenc: Avoid seeking when writing level 1 elements
Up until now, the writing process for level 1 elements (those elements for which CRC-32 elements are written by default) was this in case the output was seekable: Write the EBML ID, write an "unkown length" EBML number of the desired length, then write the element into a dynamic buffer, then write the dynamic buffer (after possible calculation and writing of the CRC-element), then seek back to the size element and overwrite the unknown-size element with the real size. The seeking and overwriting part has been eliminated by not writing the size initially. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/fate/matroska.mak')
0 files changed, 0 insertions, 0 deletions