]> git.sesse.net Git - vlc/blobdiff - modules/codec/cvdsub.c
cvdsub: remove unused variable
[vlc] / 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