[FFmpeg-devel] Memory leaks in libavformat/segment.c

Hendrik Leppkes h.leppkes at gmail.com
Tue Dec 8 11:26:34 CET 2015


On Tue, Dec 8, 2015 at 11:19 AM, Lvqier <lvqier at gmail.com> wrote:
> Hi Hendrik,
>
>     The attached is another patch which uses av_reallocp to fix this issue.
>

Thanks, that looks almost good. But you should check for a negative
return value, as all errors are negative.

- Hendrik


More information about the ffmpeg-devel mailing list