resultDivFactor is unsigned, so it can never be less then 0.
From: Erik Hovland <erik@hovland.org>
---
libs/libmythsoundtouch/FIRFilter.cpp | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libs/libmythsoundtouch/FIRFilter.cpp b/libs/libmythsoundtouch/FIRFilter.cpp
index 163ad39..f21fdc7 100644
a
|
b
|
uint FIRFilter::evaluate(SAMPLETYPE *dest, const SAMPLETYPE *src, uint numSample |
203 | 203 | assert(length > 0); |
204 | 204 | assert(lengthDiv8 * 8 == length); |
205 | 205 | if (numSamples < length) return 0; |
206 | | assert(resultDivFactor >= 0); |
207 | 206 | if (numChannels == 2) |
208 | 207 | { |
209 | 208 | return evaluateFilterStereo(dest, src, numSamples); |