[MPlayer-cvslog] r23651 - trunk/libmpcodecs/ad_realaud.c

reimar subversion at mplayerhq.hu
Sun Jun 24 16:04:49 CEST 2007


Author: reimar
Date: Sun Jun 24 16:04:48 2007
New Revision: 23651

Log:
Move variable into the block where it actually used


Modified:
   trunk/libmpcodecs/ad_realaud.c

Modified: trunk/libmpcodecs/ad_realaud.c
==============================================================================
--- trunk/libmpcodecs/ad_realaud.c	(original)
+++ trunk/libmpcodecs/ad_realaud.c	Sun Jun 24 16:04:48 2007
@@ -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);



More information about the MPlayer-cvslog mailing list