--- src/oss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oss.c b/src/oss.c index 8292b584eb4f..9b13dc2f9a1a 100644 --- a/src/oss.c +++ b/src/oss.c @@ -369,7 +369,7 @@ static size_t osswrite( size_t cbStride; int cbWritten; - cStride = cInput; + cStride = cInputRemaining; if (cStride > pPriv->cOutput) { cStride = pPriv->cOutput; } -- 2.17.0
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel