[FFmpeg-devel] [PATCH 2/3] examples/filtering_audio: Fix memory leak

Nicolas George nicolas.george at normalesup.org
Thu Apr 18 20:56:24 CEST 2013

L'octidi 28 germinal, an CCXXI, pkoshevoy at gmail.com a écrit :
> From: Pavel Koshevoy <pkoshevoy at gmail.com>
> Calling av_opt_set_int(dec_ctx, "refcounted_frames", 1, 0)
> introduced a memory leak which was reported by valgrind.
> I don't know if my fix is correct, but it fixes the leak.

Better (hopefully) fix pushed. Thanks for spotting the bug.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130418/444b6274/attachment.asc>

More information about the ffmpeg-devel mailing list