vlc | branch: master | Thomas Guillem <[email protected]> | Thu Dec 22 17:23:03 2016 +0100| [e7447cc057cc41a8183af25bd0112be3bf4ce1c9] | committer: Thomas Guillem
avcodec/audio: fix frame leak in case of drop > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e7447cc057cc41a8183af25bd0112be3bf4ce1c9 --- modules/codec/avcodec/audio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c index 6b8b2bb..251ed36 100644 --- a/modules/codec/avcodec/audio.c +++ b/modules/codec/avcodec/audio.c @@ -462,6 +462,8 @@ end: drop: if( p_block != NULL ) block_Release(p_block); + if( frame != NULL ) + av_frame_free( &frame ); return NULL; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
