]> git.sesse.net Git - vlc/commitdiff
twolame: fix chain deallocation
authorTristan Matthews <tmatth@videolan.org>
Tue, 30 Sep 2014 11:45:40 +0000 (07:45 -0400)
committerTristan Matthews <tmatth@videolan.org>
Tue, 30 Sep 2014 11:46:25 +0000 (07:46 -0400)
modules/codec/twolame.c

index b44647e1da51e485a9a722c5ad2e7b15257986ad..79c64b7ebe6da2ca18805dc4ef43f434596cbbb4 100644 (file)
@@ -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 );