rem: for (i = conv->srcsamples; i; i--)
add: samples = conv->srcsamples; if ( !(conv->flags & (mixConvStereoUp | mixConvStereoDown))) samples *= conv->srcchans;  for (; samples; samples--)
context: mixSDL_ResampleFlat (mixSDL_Convertion *conv){	mixSDL_ConvFlags flags = conv->flags;	uint8 *src = conv->srcdata;	uint8 *dst = conv->dstdata;	uint32 srcbpc = conv->srcbpc;	uint32 dstbpc = conv->dstbpc;	uint32 i;	for (i = conv->srcsamples; i; i--)	{		register sint32 samp;		samp = mixSDL_GetConvSample (&src, srcbpc, flags);		mixSDL_PutConvSample (&dst, dstbpc, flags, samp);	}}