shithub: libopusenc

Download patch

ref: c950e076e03cfa839bd3120dc3914c22d351a16a
parent: b03c6c73cc3033b99f9fe5091cb63c4adf23741b
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 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)