Commit b9296a12 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

cvdsub: remove unused variable

parent 24c46391
...@@ -214,7 +214,6 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block ) ...@@ -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 ) static block_t *Reassemble( decoder_t *p_dec, block_t *p_block )
{ {
decoder_sys_t *p_sys = p_dec->p_sys; decoder_sys_t *p_sys = p_dec->p_sys;
uint8_t *p_buffer;
if( p_block->i_buffer < SPU_HEADER_LEN ) if( p_block->i_buffer < SPU_HEADER_LEN )
{ {
...@@ -224,8 +223,6 @@ static block_t *Reassemble( decoder_t *p_dec, block_t *p_block ) ...@@ -224,8 +223,6 @@ static block_t *Reassemble( decoder_t *p_dec, block_t *p_block )
return NULL; return NULL;
} }
p_buffer = p_block->p_buffer;
/* From the scant data on the format, there is only only way known /* From the scant data on the format, there is only only way known
* to detect the first packet in a subtitle. The first packet * to detect the first packet in a subtitle. The first packet
* seems to have a valid PTS while later packets for the same * seems to have a valid PTS while later packets for the same
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment