Re: [FFmpeg-devel] [PATCH 1/4] avformat/mpegenc: Ensure packet queue stays valid

2021-02-18 Thread Andreas Rheinhardt
Andreas Rheinhardt: > The MPEG-PS muxer uses a custom queue of custom packets. To keep track > of it, it has a pointer (named predecode_packet) to the head of the > queue and a pointer to where the next packet is to be added (it points > to the next-pointer of the last element of the queue); furthe

[FFmpeg-devel] [PATCH 1/4] avformat/mpegenc: Ensure packet queue stays valid

2021-02-15 Thread Andreas Rheinhardt
The MPEG-PS muxer uses a custom queue of custom packets. To keep track of it, it has a pointer (named predecode_packet) to the head of the queue and a pointer to where the next packet is to be added (it points to the next-pointer of the last element of the queue); furthermore, there is also a point