mixer.c
changeset 821 ebb26212a00f
parent 817 aef7a1784ffd
child 839 7fa15b556953
     1.1 --- a/mixer.c	Sat Oct 21 12:17:37 2017 -0700
     1.2 +++ b/mixer.c	Sat Oct 21 12:34:32 2017 -0700
     1.3 @@ -745,7 +745,7 @@
     1.4              SDL_free(chunk);
     1.5              return(NULL);
     1.6          }
     1.7 -        SDL_memcpy(wavecvt.buf, chunk->abuf, chunk->alen);
     1.8 +        SDL_memcpy(wavecvt.buf, chunk->abuf, wavecvt.len);
     1.9          SDL_free(chunk->abuf);
    1.10  
    1.11          /* Run the audio converter */