[PATCH] msacm32: Fix bytes written in PCM converter.

Andrew Eikum aeikum at codeweavers.com
Mon Jun 12 08:08:25 CDT 2017


On Tue, Jun 06, 2017 at 06:17:46PM -0500, Zebediah Figura wrote:
> diff --git a/dlls/msacm32/pcmconverter.c b/dlls/msacm32/pcmconverter.c
> index e4bc5e7777..51f5eec8ee 100644
> --- a/dlls/msacm32/pcmconverter.c
> +++ b/dlls/msacm32/pcmconverter.c
> @@ -561,6 +561,7 @@ static	void cvtSS88C(DWORD srcRate, const unsigned char* src, LPDWORD nsrc,
>              error = error - dstRate;
>          }
>      }
> +    *ndst = 0;
>  }
>  

I'm confused how this makes a difference. Isn't ndst already 0 at this
point since it exited the while loop?

Andrew



More information about the wine-devel mailing list