swresample/rematrix: fix update of channel matrix if input or output layout is undefined
authorTobias Rapp <t.rapp@noa-archive.com>
Wed, 14 Feb 2018 16:01:08 +0000 (17:01 +0100)
committerTobias Rapp <t.rapp@noa-archive.com>
Mon, 19 Feb 2018 07:32:25 +0000 (08:32 +0100)
commit6325bd3717348615adafb52e4da2fd01a3007d0a
tree2c87005182fa4a8d48f6951648982fc91bcffbd0
parent647fa49495c39a48b7ccb92acd8fb975b1575456
swresample/rematrix: fix update of channel matrix if input or output layout is undefined

Prefer direct in/out channel count values over channel layout, when
available. Fixes a pan filter bug (ticket #6790).

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
libswresample/rematrix.c