Skip to content
Snippets Groups Projects
Commit df328ccf authored by Pierre's avatar Pierre
Browse files

macosx/framework: Factorization.

parent 17df4f91
No related branches found
No related tags found
No related merge requests found
......@@ -83,8 +83,9 @@ void __catch_exception( void * e, const char * function, const char * file, int
}
int paramNum = 0;
const char *lib_vlc_params[[vlcParams count]];
while (paramNum < [vlcParams count]) {
NSUInteger count = [vlcParams count];
const char *lib_vlc_params[count];
while (paramNum < count) {
NSString *vlcParam = [vlcParams objectAtIndex:paramNum];
lib_vlc_params[paramNum] = [vlcParam cStringUsingEncoding:NSASCIIStringEncoding];
paramNum++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment