shithub: opus-tools

Download patch

ref: c09fbdf3d296dbfeadaa111ad1e4f3b283700eb7
parent: 1a646c4a703128dddfc4c2809bdced36164e6de9
author: Tristan Matthews <tmatth@videolan.org>
date: Fri Sep 14 15:15:33 EDT 2018

resample: fix UINT32_MAX fallback

Reported by Mark Harris

(cherry picked from speexdsp commit 7181b9e84fbf6887c74807af5ad0030a5181640a)

--- a/src/resample.c
+++ b/src/resample.c
@@ -93,7 +93,7 @@
 #endif
 
 #ifndef UINT32_MAX
-#define UINT32_MAX 4294967296U
+#define UINT32_MAX 4294967295U
 #endif
 
 #if defined(__SSE__) && !defined(FIXED_POINT)