Commit 37658aca authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Fix BeOS breakage due to [12863]

parent 91b22a6d
......@@ -308,11 +308,12 @@ static inline char *vlc_b64_encode( char *src )
static const char b64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
size_t len = strlen( src );
char *ret;
char *dst = (char *)malloc( ( len + 4 ) * 4 / 3 );
if( dst == NULL )
return NULL;
char *ret = dst;
ret = dst;
while( len > 0 )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment