Re: [FFmpeg-devel] [PATCH 4/9] avformat/matroskaenc: Remove redundant assert

2019-10-21 Thread James Almer
On 10/15/2019 8:17 AM, Andreas Rheinhardt wrote: > The Matroska muxer groups index entries with the same pts together in > order to save a few bytes. Because of Matroska's variable-length length > fields, mkv_write_cues() does this by first finding out how many index > entries will be grouped toget

[FFmpeg-devel] [PATCH 4/9] avformat/matroskaenc: Remove redundant assert

2019-10-15 Thread Andreas Rheinhardt
The Matroska muxer groups index entries with the same pts together in order to save a few bytes. Because of Matroska's variable-length length fields, mkv_write_cues() does this by first finding out how many index entries will be grouped together before actually writing them. Currently, it is assert