changeset 23631:055f06fadc0c

Move variable into the block where it actually used
author reimar
date Sun, 24 Jun 2007 14:04:48 +0000
parents a2c1e8b60819
children d881914bea1d
files libmpcodecs/ad_realaud.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);