Commit 2708cd95 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

theora: tautology

parent 5dae442d
...@@ -223,7 +223,7 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block ) ...@@ -223,7 +223,7 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
{ {
if( ProcessHeaders( p_dec ) ) if( ProcessHeaders( p_dec ) )
{ {
block_Release( *pp_block ); block_Release( p_block );
return NULL; return NULL;
} }
p_sys->b_has_headers = true; p_sys->b_has_headers = true;
...@@ -453,8 +453,7 @@ static void *ProcessPacket( decoder_t *p_dec, ogg_packet *p_oggpacket, ...@@ -453,8 +453,7 @@ static void *ProcessPacket( decoder_t *p_dec, ogg_packet *p_oggpacket,
else else
{ {
p_buf = DecodePacket( p_dec, p_oggpacket ); p_buf = DecodePacket( p_dec, p_oggpacket );
if( p_block ) block_Release( p_block );
block_Release( p_block );
} }
/* Date management */ /* Date management */
......
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