aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/videodsp.h
diff options
context:
space:
mode:
authorMarcin Gorzel <gorzel-at-google.com@ffmpeg.org>2018-07-24 14:55:47 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2018-07-26 02:42:42 +0200
commit8b710ea5e7b8a3c3f60fb867bb104b0ec9ea4e83 (patch)
treeed1678f7455741e4bbc9cd377de6968deb46798f /libavcodec/videodsp.h
parentd01d46ad860c526e2bde9bcaca28a3592787848d (diff)
downloadffmpeg-8b710ea5e7b8a3c3f60fb867bb104b0ec9ea4e83.tar.gz
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: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/videodsp.h')
0 files changed, 0 insertions, 0 deletions