]> git.sesse.net Git - vlc/commitdiff
cvdsub: remove unused variable
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 28 Oct 2011 13:03:51 +0000 (15:03 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 30 Oct 2011 23:42:18 +0000 (00:42 +0100)
modules/codec/cvdsub.c

index 9406db5d3ab8f9374d7b277237a5a8730e8e6f58..b56d7bc3ccdf4cd39ed96a81b9053ba1af19f703 100644 (file)
@@ -214,7 +214,6 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
 static block_t *Reassemble( decoder_t *p_dec, block_t *p_block )
 {
     decoder_sys_t *p_sys = p_dec->p_sys;
-    uint8_t *p_buffer;
 
     if( p_block->i_buffer < SPU_HEADER_LEN )
     {
@@ -224,8 +223,6 @@ static block_t *Reassemble( decoder_t *p_dec, block_t *p_block )
         return NULL;
     }
 
-    p_buffer = p_block->p_buffer;
-
     /* From the scant data on the format, there is only only way known
      * to detect the first packet in a subtitle.  The first packet
      * seems to have a valid PTS while later packets for the same