ffmpeg | branch: master | Vittorio Giovara <vittorio.giov...@gmail.com> | Thu Jul 21 15:47:47 2016 +0200| [95f80293456d9d4b1b096621260c38bc90325ec0] | committer: Luca Barbato
avprobe: Fix memory leak After init_opts() there needs to be an uninit_opts() call to free the swscale context and other buffers. Signed-off-by: Luca Barbato <lu_z...@gentoo.org> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=95f80293456d9d4b1b096621260c38bc90325ec0 --- avprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avprobe.c b/avprobe.c index abaaee1..eff9c0d 100644 --- a/avprobe.c +++ b/avprobe.c @@ -1089,7 +1089,7 @@ int main(int argc, char **argv) avio_flush(probe_out); av_freep(&probe_out); av_freep(&buffer); - + uninit_opts(); avformat_network_deinit(); return ret; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog