Skip to content
Snippets Groups Projects
Commit 8b710ea5 authored by Marcin Gorzel's avatar Marcin Gorzel Committed by Michael Niedermayer
Browse files

swresample: Use channel count in rematrix initialization


Rematrixing supports up to 64 channels. However, there is only a limited number of channel layouts defined. Since the in/out channel count is currently obtained from the channel layout, for undefined layouts (e.g. for 9, 10, 11 channels etc.) the rematrixing fails.

This patch changes rematrix init methods to use in (used) and out channel count directly instead of computing it from channel layout.

Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent d01d46ad
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment