]> git.sesse.net Git - vlc/commit
demux: lpcm: fix AOB decoding (fix #11936)
authorFrancois Cartegnie <fcvlcdev@free.fr>
Tue, 10 Mar 2015 18:05:22 +0000 (19:05 +0100)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 11 Mar 2015 13:31:13 +0000 (14:31 +0100)
commitdf48e0eeffb4eb8b4e05e1c9c0bf7efdf7a06e72
treefafe5311848b09efd61fc2a85a53f74f50d63da0
parente85242dd3b1888bba954cd4b8562117dcf9b668f
demux: lpcm: fix AOB decoding (fix #11936)

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).
modules/codec/lpcm.c