--- np2/generic/cmjasts.c 2003/12/26 23:30:26 1.2 +++ np2/generic/cmjasts.c 2004/01/07 12:51:29 1.3 @@ -111,11 +111,13 @@ static void SOUNDCALL js_getpcm(CMJAST h #else pcmdata = hdl->pcm; #endif - while(count) { - count--; - pcm[0] += pcmdata; - pcm[1] += pcmdata; - pcm += 2; + if (pcmdata) { + while(count) { + count--; + pcm[0] += pcmdata; + pcm[1] += pcmdata; + pcm += 2; + } } }