Commit 5fdee8ec authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

lpcm: abort() is a better solution here

parent c24f5b99
...@@ -307,8 +307,7 @@ static void *DecodeFrame( decoder_t *p_dec, block_t **pp_block ) ...@@ -307,8 +307,7 @@ static void *DecodeFrame( decoder_t *p_dec, block_t **pp_block )
p_block->p_buffer ); p_block->p_buffer );
break; break;
default: default:
assert(0); abort();
i_ret = VLC_EGENERIC;
} }
if( i_ret || p_block->i_buffer <= p_sys->i_header_size + i_padding ) if( i_ret || p_block->i_buffer <= p_sys->i_header_size + i_padding )
......
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