Commit 1feb0545 authored by Tristan Matthews's avatar Tristan Matthews Committed by Jean-Baptiste Kempf

vorbis: fix dereference after null check (cid #403019)

(cherry picked from commit 4941746e6379c43d56fc70ad5a7ad83d99081b2b)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 68906550
......@@ -318,7 +318,8 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
{
if( ProcessHeaders( p_dec ) )
{
block_Release( *pp_block );
if( *pp_block )
block_Release( *pp_block );
return NULL;
}
p_sys->b_has_headers = true;
......
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