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 5526 5645b3a5dc03
parent 5525 e427bb6266a4
child 5527 9a03d2300486
Move variable declaration position to stick with C standart.
src/audio/SDL_audio.c
--- a/src/audio/SDL_audio.c	Tue Mar 29 03:05:26 2011 -0700
+++ b/src/audio/SDL_audio.c	Sun Apr 03 18:24:27 2011 +0700
@@ -328,14 +328,13 @@
     void (SDLCALL * fill) (void *userdata, Uint8 * stream, int len);
     int silence;
     Uint32 delay;
+    /* For streaming when the buffer sizes don't match up */
+    Uint8 *istream;
+    int istream_len = 0;
 
     /* The audio mixing is always a high priority thread */
     SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);
 
-    /* For streaming when the buffer sizes don't match up */
-    Uint8 *istream;
-    int istream_len = 0;
-
     /* Perform any thread setup */
     device->threadid = SDL_ThreadID();
     current_audio.impl.ThreadInit(device);