audio-resampler: Update NEON to handle remainders not multiples of 4
authorDoug Nazar <nazard@nazar.ca>
Tue, 3 Sep 2019 03:25:39 +0000 (23:25 -0400)
committerDoug Nazar <nazard@nazar.ca>
Tue, 3 Sep 2019 03:25:39 +0000 (23:25 -0400)
commit0c955c16ce52b42b52b6e594f97c5ae73db41c47
tree60219f5d23bfc45cd40e47e9ea82781f6236e0d5
parent909baa2360f7ba7b6e2e27a2ad565e3142630abe
audio-resampler: Update NEON to handle remainders not multiples of 4

If the remainder is not evenly divisable by 4, we'd miss the check
for zero and continue the loop until crashing. Change the branch
to take into account negatives as well.

This more closely matches the SSE loop.
gst-libs/gst/audio/audio-resampler-neon.h