mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-07 15:49:42 +02:00
Fix VST XML file loading if it contained "chunks"
This commit is contained in:
parent
31d23fdf3f
commit
8b1d71c657
@ -2112,10 +2112,10 @@ int VSTEffectDialog::b64decode(wxString in, void *out)
|
|||||||
case 1: //One pad character
|
case 1: //One pad character
|
||||||
*p++ = (temp >> 16) & 0x000000FF;
|
*p++ = (temp >> 16) & 0x000000FF;
|
||||||
*p++ = (temp >> 8) & 0x000000FF;
|
*p++ = (temp >> 8) & 0x000000FF;
|
||||||
return (p - (unsigned char *) out) - 1;
|
return p - (unsigned char *) out;
|
||||||
case 2: //Two pad characters
|
case 2: //Two pad characters
|
||||||
*p++ = (temp >> 10) & 0x000000FF;
|
*p++ = (temp >> 10) & 0x000000FF;
|
||||||
return (p - (unsigned char *) out) - 1;
|
return p - (unsigned char *) out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
@ -2125,7 +2125,7 @@ int VSTEffectDialog::b64decode(wxString in, void *out)
|
|||||||
*p++ = temp & 0x000000FF;
|
*p++ = temp & 0x000000FF;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (p - (unsigned char *) out) - 1;
|
return p - (unsigned char *) out;
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user