Re: [FFmpeg-devel] [PATCH 21/21] avformat/matroskaenc: Simplify writing Void elements

2020-04-01 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Reserving space in Matroska works by writing a Void element. And until > now this worked as follows: The current position was recorded and the > EBML ID as well as the length field written; then the new position was > recorded to know how much more to write. Afterwards the

[FFmpeg-devel] [PATCH 21/21] avformat/matroskaenc: Simplify writing Void elements

2020-01-13 Thread Andreas Rheinhardt
Reserving space in Matroska works by writing a Void element. And until now this worked as follows: The current position was recorded and the EBML ID as well as the length field written; then the new position was recorded to know how much more to write. Afterwards the actual writing has been