swresample/resample: Limit filter length
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 7 Apr 2014 22:19:07 +0000 (00:19 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 7 Apr 2014 22:25:49 +0000 (00:25 +0200)
commitf9158b01d0f3effb58e87fb07db0382bc1e47de5
tree96888283b1878177eec7a511b3b36b40a247d0d5
parent0d225863f2c9855c6c39890da63f1fc6d6fb9391
swresample/resample: Limit filter length

Related to CID1197063

The limit choosen is arbitrary and much larger than what makes sense.
It avoids the need for checking arithmetic operations with the length for overflow

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