Move variable declaration position to stick with C standart.
authorAirlangga Cahya Utama <airlangga.cahya@gmail.com>
Sun, 03 Apr 2011 18:24:27 +0700
changeset 55265645b3a5dc03
parent 5525 e427bb6266a4
child 5527 9a03d2300486
Move variable declaration position to stick with C standart.
src/audio/SDL_audio.c
     1.1 --- a/src/audio/SDL_audio.c	Tue Mar 29 03:05:26 2011 -0700
     1.2 +++ b/src/audio/SDL_audio.c	Sun Apr 03 18:24:27 2011 +0700
     1.3 @@ -328,14 +328,13 @@
     1.4      void (SDLCALL * fill) (void *userdata, Uint8 * stream, int len);
     1.5      int silence;
     1.6      Uint32 delay;
     1.7 +    /* For streaming when the buffer sizes don't match up */
     1.8 +    Uint8 *istream;
     1.9 +    int istream_len = 0;
    1.10  
    1.11      /* The audio mixing is always a high priority thread */
    1.12      SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);
    1.13  
    1.14 -    /* For streaming when the buffer sizes don't match up */
    1.15 -    Uint8 *istream;
    1.16 -    int istream_len = 0;
    1.17 -
    1.18      /* Perform any thread setup */
    1.19      device->threadid = SDL_ThreadID();
    1.20      current_audio.impl.ThreadInit(device);