From aebfefd1117a6efde0fccfc3fc74e3c2d9a101cd Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 24 Jun 2007 14:04:48 +0000 Subject: [PATCH] Move variable into the block where it actually used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23651 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ad_realaud.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpcodecs/ad_realaud.c b/libmpcodecs/ad_realaud.c index 5426984559..e4e94139a5 100644 --- a/libmpcodecs/ad_realaud.c +++ b/libmpcodecs/ad_realaud.c @@ -229,7 +229,6 @@ static int preinit(sh_audio_t *sh){ #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 @@ static int preinit(sh_audio_t *sh){ #ifdef USE_WIN32DLL if (dll_type == 1) { + int i; for (i=0; i < strlen(path); i++) if (path[i] == '/') path[i] = '\\'; wraSetDLLAccessPath(path);