Commit d5adfb2d authored by Francois Cartegnie's avatar Francois Cartegnie

codec: lpcm: convert endianness for 16bits AOB

refs #11936 http://mpchc.omertabeyond.com/incorrect_audio_stream.AOB
parent d4fe8def
......@@ -1146,8 +1146,9 @@ static void AobExtract( block_t *p_aout_buffer,
else
{
assert( i_bits == 16 );
p_out[2*i_dst+0] = p_block->p_buffer[2*i_src+0];
p_out[2*i_dst+1] = p_block->p_buffer[2*i_src+1];
/* Big Endian -> Little Endian */
p_out[2*i_dst+1] = p_block->p_buffer[2*i_src+0];
p_out[2*i_dst+0] = p_block->p_buffer[2*i_src+1];
}
}
}
......
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