resample: fix UINT32_MAX fallback bugfix/resampler-uint
authorTristan Matthews <tmatth@videolan.org>
Fri, 14 Sep 2018 23:15:33 +0000 (19:15 -0400)
committerTristan Matthews <tmatth@videolan.org>
Fri, 14 Sep 2018 23:42:13 +0000 (19:42 -0400)
Reported by Mark Harris

libspeexdsp/resample.c

index c0a189b..cd2477b 100644 (file)
@@ -93,7 +93,7 @@ static void speex_free(void *ptr) {free(ptr);}
 #endif
 
 #ifndef UINT32_MAX
-#define UINT32_MAX 4294967296U
+#define UINT32_MAX 4294967295U
 #endif
 
 #ifdef USE_SSE