# HG changeset patch # User reimar # Date 1182693888 0 # Node ID 055f06fadc0cbc620201bfae89827ff2d267e9d8 # Parent a2c1e8b60819413071f9e5f5247b60c8227f7eeb Move variable into the block where it actually used diff -r a2c1e8b60819 -r 055f06fadc0c libmpcodecs/ad_realaud.c --- 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);