Commit 68ca8d0b authored by Rafaël Carré's avatar Rafaël Carré

LPCM: fix 20/24-bit decoding

Fixes: #9907
parent 5dee34ad
......@@ -1103,7 +1103,7 @@ static void BdExtract( block_t *p_aout_buffer, block_t *p_block,
unsigned i_channels, unsigned i_channels_padding,
unsigned i_bits )
{
if( i_channels_padding > 0 )
if( i_bits != 16 || i_channels_padding > 0 )
{
uint8_t *p_src = p_block->p_buffer;
uint8_t *p_dst = p_aout_buffer->p_buffer;
......
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