src/audio/SDL_audiocvt.c
changeset 10925 4de9d54bbc87
parent 10883 c6b2a9e91f91
child 10926 97c829825e0e
     1.1 --- a/src/audio/SDL_audiocvt.c	Wed Mar 01 15:05:54 2017 -0800
     1.2 +++ b/src/audio/SDL_audiocvt.c	Thu Mar 02 13:33:04 2017 -0500
     1.3 @@ -439,7 +439,10 @@
     1.4      const int srclen = cvt->len_cvt;
     1.5      Sint16 *dst = (Sint16 *) cvt->buf;
     1.6      const int dstlen = (cvt->len * cvt->len_mult);
     1.7 -    Sint16 state[2] = { src[0], src[1] };
     1.8 +    Sint16 state[2];
     1.9 +
    1.10 +    state[0] = src[0];
    1.11 +    state[1] = src[1];
    1.12  
    1.13      SDL_assert(format == AUDIO_S16SYS);
    1.14