diff libmpcodecs/ad_realaud.c @ 23631:055f06fadc0c

Move variable into the block where it actually used
author reimar
date Sun, 24 Jun 2007 14:04:48 +0000
parents 0c6e8d9da11a
children e7c989f7a7c9
line wrap: on
line diff
--- a/libmpcodecs/ad_realaud.c	Sun Jun 24 13:34:16 2007 +0000
+++ b/libmpcodecs/ad_realaud.c	Sun Jun 24 14:04:48 2007 +0000
@@ -229,7 +229,6 @@
 #else
   if(raSetDLLAccessPath){
 #endif
-      int i;
       // used by 'SIPR'
       path = realloc(path, strlen(REALCODEC_PATH) + 13);
       sprintf(path, "DT_Codecs=" REALCODEC_PATH);
@@ -241,6 +240,7 @@
 #ifdef USE_WIN32DLL
     if (dll_type == 1)
     {
+      int i;
       for (i=0; i < strlen(path); i++)
         if (path[i] == '/') path[i] = '\\';
       wraSetDLLAccessPath(path);