resample: avoid overflows
authorWim Taymans <wtaymans@redhat.com>
Thu, 11 Feb 2016 18:47:04 +0000 (19:47 +0100)
committerWim Taymans <wtaymans@redhat.com>
Thu, 11 Feb 2016 18:55:08 +0000 (19:55 +0100)
commit9d66b7cdd21637479b91a0641543d5589ab03151
treef7edcb0ea6ee6801be3ff9ae12b7c8acdbe8e922
parent188c0811de402e00ee4cbc0e8cdb03ea8dc1dfd9
resample: avoid overflows

Avoid overflow in rate calculation. This can cause the resampler to
start on the wrong phase after a rate change.
Avoid overflow in cubic fraction calculation. This can cause noise when
dealing with higher samplerates.
gst/audioresample/resample.c