[FFmpeg-devel] [PATCH] swresample: Use channel count in rematrix initialization

Michael Niedermayer michael at niedermayer.cc
Wed Jul 25 04:17:22 EEST 2018


On Tue, Jul 24, 2018 at 02:55:47PM +0100, Marcin Gorzel wrote:
> 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.
> ---
>  libswresample/rematrix.c          | 4 ++--
>  libswresample/x86/rematrix_init.c | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180725/f89a78d4/attachment.sig>


More information about the ffmpeg-devel mailing list