Re: [FFmpeg-devel] [PATCH] avformat/utils: unref packet on AVInputFormat.read_packet() failure

2019-09-22 Thread Andreas Rheinhardt
James Almer: > Demuxers may have allocated a packet before encountering an error and > aborting. > > Fixes ticket #8150 > > Signed-off-by: James Almer > --- > It may also fix other tickets as well, since i recall seeing other reports > about > leaks in ff_read_packet() on malformed input in th

[FFmpeg-devel] [PATCH] avformat/utils: unref packet on AVInputFormat.read_packet() failure

2019-09-18 Thread James Almer
Demuxers may have allocated a packet before encountering an error and aborting. Fixes ticket #8150 Signed-off-by: James Almer --- It may also fix other tickets as well, since i recall seeing other reports about leaks in ff_read_packet() on malformed input in the past, but i can't remember which.