lavfi: add missing check in avfilter_filter_samples()
authorStefano Sabatini <stefasab@gmail.com>
Tue, 27 Dec 2011 14:15:02 +0000 (15:15 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jan 2012 21:35:42 +0000 (22:35 +0100)
commite9378b42b11a405c3e8d924bcf38d4ff121211b2
tree4005f92e48e9047cdf6add7c5076f8cfdf0afeca
parent6caca265338e6b7770439a7038b873fec8ad82f7
lavfi: add missing check in avfilter_filter_samples()

Avoid out-of-buffer data access when nb_channels is 8.
(cherry picked from commit ae21776207e8a2bbe268e7c9e203f7599dd87ddb)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/avfilter.c