diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-29 05:21:47 +0100 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-11-26 22:50:37 -0500 |
commit | 5d47850bbd9ea70f6ab6b8eecaf3992a8c444492 (patch) | |
tree | cdfd6b6e29463e1c41bb0f22553147798a71088f /libavcodec/dcadsp.c | |
parent | 2fe0094e0bf939f563c2600083bee8f183c2763d (diff) | |
download | ffmpeg-5d47850bbd9ea70f6ab6b8eecaf3992a8c444492.tar.gz |
dcadec: skip QMF on unused channels
When the extra rear channel is present but unused, the
s->channel_order_tab[] value for that channel is -1. The QMF can be
skipped for the extra channel, and doing so avoids an out-of-array read
on s->samples_chanptr[].
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavcodec/dcadsp.c')
0 files changed, 0 insertions, 0 deletions