Move variable into the block where it actually used

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23651 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar committed 2007-06-24 14:04:48 +00:00
1 parent 4e9363a8bb
commit aebfefd111
1 file changed
+1 -1
+1 -1
View File
@@ -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);