Mercurial > hg > dmlib
changeset 52:1d17ecc5486c
Fix an assert check.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 01 Oct 2012 04:17:42 +0300 |
parents | 36e2f910219c |
children | a83f7c4d9e08 |
files | jssmix.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/jssmix.c Mon Oct 01 03:48:21 2012 +0300 +++ b/jssmix.c Mon Oct 01 04:17:42 2012 +0300 @@ -369,7 +369,7 @@ assert(mixer != NULL); assert(mixBuffer != NULL); assert(mixLength > 0); - assert(mixLength * mixer->outChannels < mixer->addBufSize); + assert(mixLength * mixer->outChannels <= mixer->addBufSize); // Clear mixer->addBuffer memset(mixer->addBuffer, 0, mixLength * mixer->outChannels * sizeof(JMIXER_ADDBUF_TYPE));