vlc/vlc-2.2 | branch: master | Tristan Matthews <tma...@videolan.org> | Tue Sep 30 07:45:40 2014 -0400| [54b6ab86dd8f6949182eb44a2457afcc3990f49c] | committer: Jean-Baptiste Kempf
twolame: fix chain deallocation (cherry picked from commit 1023ecb97f830349989c79aa5b0260d606588c6e) Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=54b6ab86dd8f6949182eb44a2457afcc3990f49c --- modules/codec/twolame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/twolame.c b/modules/codec/twolame.c index beeb276..b41276e 100644 --- a/modules/codec/twolame.c +++ b/modules/codec/twolame.c @@ -328,7 +328,7 @@ static block_t *Encode( encoder_t *p_enc, block_t *p_aout_buf ) if( !p_block ) { if( p_chain ) - block_Release( p_chain ); + block_ChainRelease( p_chain ); return NULL; } memcpy( p_block->p_buffer, p_sys->p_out_buffer, i_used ); _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits