]> git.sesse.net Git - vlc/commitdiff
block_ChainLastAppend is just weird; a simple pointer dereference instead.
authorSteinar Gunderson <sgunderson@bigfoot.com>
Sun, 26 Sep 2010 00:26:44 +0000 (02:26 +0200)
committerSteinar Gunderson <sgunderson@bigfoot.com>
Sun, 26 Sep 2010 00:35:05 +0000 (02:35 +0200)
modules/codec/lpcm.c

index 88eab2e85bdcefe7fa6f78eec846f72f81e77187..8e0540afe21162a93a763e6b444455ed8ddae146 100644 (file)
@@ -546,7 +546,7 @@ static block_t *EncodeFrames( encoder_t *p_enc, aout_buffer_t *p_aout_buf )
         if( !p_first_block )
             p_first_block = p_last_block = p_block;
         else
-            block_ChainLastAppend( &p_last_block, p_block );
+            p_last_block = p_last_block->p_next = p_block;
     }
 
     memcpy( p_sys->p_buffer,