swr/resample: fix integer overflow, add missing cast
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Feb 2013 02:53:10 +0000 (03:53 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Feb 2013 03:05:59 +0000 (04:05 +0100)
commitb8c55590d54dc076fb7cd003317cbd84cb7d8855
tree85e8a465afb01fa2d09caf4e7cdc6b882d29d1e9
parent91debec976d2535e402c8f6326e70589a2776a38
swr/resample: fix integer overflow, add missing cast

The effects of this are limited to numeric errors in the output

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