af_aresample: allocate at least 1 sample buffer. Fix null ptr dereference.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 19 Nov 2012 14:55:23 +0000 (15:55 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 19 Nov 2012 14:55:54 +0000 (15:55 +0100)
commitc44a028e19c89671dbd614c283f7e5fe2f555139
tree8fa35495ea9bee3059e26d58f182e07047a944a9
parent1b20877f34d9b8bfdb244f1618281d6001527d2a
af_aresample: allocate at least 1 sample buffer. Fix null ptr dereference.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/af_aresample.c