[vlc-commits] twolame: fix chain deallocation

Tristan Matthews git at videolan.org
Tue Sep 30 13:47:07 CEST 2014


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Tue Sep 30 07:45:40 2014 -0400| [1023ecb97f830349989c79aa5b0260d606588c6e] | committer: Tristan Matthews

twolame: fix chain deallocation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1023ecb97f830349989c79aa5b0260d606588c6e
---

 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 b44647e..79c64b7 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 );



More information about the vlc-commits mailing list