Commit 5f341b57 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

araw: handle error

parent edf07423
...@@ -364,7 +364,8 @@ static int DecodeBlock( decoder_t *p_dec, block_t *p_block ) ...@@ -364,7 +364,8 @@ static int DecodeBlock( decoder_t *p_dec, block_t *p_block )
} }
else else
{ {
decoder_UpdateAudioFormat( p_dec ); if( decoder_UpdateAudioFormat( p_dec ) )
goto skip;
p_block->i_nb_samples = samples; p_block->i_nb_samples = samples;
p_block->i_buffer = samples * (p_sys->framebits / 8); p_block->i_buffer = samples * (p_sys->framebits / 8);
} }
......
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