shithub: libsamplerate

Download patch

ref: e48aa4767edfcac3958d07d10ecaf733971e56c4
parent: e8cf2e673f9615038658c0f1283df4d681827f9f
author: Erik de Castro Lopo <erikd@mega-nerd.com>
date: Thu Sep 24 14:11:21 EDT 2015

src/src_sinc.c: Tweak the termination condition

--- a/src/src_sinc.c
+++ b/src/src_sinc.c
@@ -384,7 +384,7 @@
 
 		/* This is the termination condition. */
 		if (filter->b_real_end >= 0)
-		{	if (filter->b_current + input_index + terminate >= filter->b_real_end)
+		{	if (filter->b_current + input_index + terminate > filter->b_real_end)
 				break ;
 			} ;