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>
Thu, 12 Jan 2012 20:52:03 +0000 (21:52 +0100)
commitc4cc8584d0e48a9474a52eed725ed726d14d3f2f
treedb71f00e525f8894901ceaf4cd62ef69fb26f20c
parent1c1af2af0d6281a0bd6c503e3f2d2acefce698cc
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