Re: [FFmpeg-devel] [PATCH 1/4] avformat/asfdec_o: Don't segfault with lots of attached pics

2020-11-14 Thread Andreas Rheinhardt
Andreas Rheinhardt: > The ASF file format has a limit of 127 streams and the "asf_o" demuxer > (the ASF demuxer from Libav) has an array of pointers for a structure > called ASFStream that is allocated on demand for every stream. Attached > pictures are not streams in the sense of the ASF

[FFmpeg-devel] [PATCH 1/4] avformat/asfdec_o: Don't segfault with lots of attached pics

2020-11-12 Thread Andreas Rheinhardt
The ASF file format has a limit of 127 streams and the "asf_o" demuxer (the ASF demuxer from Libav) has an array of pointers for a structure called ASFStream that is allocated on demand for every stream. Attached pictures are not streams in the sense of the ASF specification, yet the demuxer