demux: lpcm: fix AOB decoding (fix #11936)

Multimedia / VLC - Francois Cartegnie [free.fr] - 11 March 2015 08:31 UTC

Fixes endianness and aout 16/32 bits. AOB channels are split into 2 groups, with only one that might be in use. They both can differ in resolution and sampling rate. We have to set output buffer to max bits of those two and adapt reads accordingly to each group. We'll reject only different group sampling rates (missing spec about interleaving).

df48e0e demux: lpcm: fix AOB decoding (fix #11936)
modules/codec/lpcm.c | 124 ++++++++++++++++++++++++++++++++++++--------------
1 file changed, 90 insertions(+), 34 deletions(-)

Upstream: git.videolan.org


  • Share