Re: [FFmpeg-devel] [PATCH 2/3] avformat/matroskadec: Don't discard valid packets

2020-03-26 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2020-03-26 01:41:43) > A Block (meaning both a Block in a BlockGroup as well as a SimpleBlock) > must have at least three bytes after the field containing the encoded > TrackNumber. So a if there are <= 3 bytes, the Matroska demuxer would > skip this block, believing it

[FFmpeg-devel] [PATCH 2/3] avformat/matroskadec: Don't discard valid packets

2020-03-25 Thread Andreas Rheinhardt
A Block (meaning both a Block in a BlockGroup as well as a SimpleBlock) must have at least three bytes after the field containing the encoded TrackNumber. So a if there are <= 3 bytes, the Matroska demuxer would skip this block, believing it to be an empty, but valid Block. This might discard vali