Commit 96b176de authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Fix previouses commit.

parent 196bce31
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
buildPhases = ( buildPhases = (
); );
dependencies = ( dependencies = (
637F33EB0D2AEE4B001E70AB /* PBXTargetDependency */, 632F3CC60D318E3A003BBC56 /* PBXTargetDependency */,
); );
name = "vlc-contrib-core-framework-app"; name = "vlc-contrib-core-framework-app";
productName = "vlc-contrib-core-framework-app"; productName = "vlc-contrib-core-framework-app";
...@@ -85,12 +85,12 @@ ...@@ -85,12 +85,12 @@
remoteGlobalIDString = 8D1107260486CEB800E47090 /* VLC */; remoteGlobalIDString = 8D1107260486CEB800E47090 /* VLC */;
remoteInfo = VLC; remoteInfo = VLC;
}; };
637F33EA0D2AEE4B001E70AB /* PBXContainerItemProxy */ = { 632F3CC50D318E3A003BBC56 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy; isa = PBXContainerItemProxy;
containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */; containerPortal = 633BD69D0D2ACE520012A314 /* VLCKit.xcodeproj */;
proxyType = 1; proxyType = 1;
remoteGlobalIDString = 637F33DF0D2AEE05001E70AB; remoteGlobalIDString = 633BD6D20D2ADE040012A314 /* vlc-contrib-core-framework */;
remoteInfo = "vlc-framework-app"; remoteInfo = "vlc-contrib-core-framework";
}; };
/* End PBXContainerItemProxy section */ /* End PBXContainerItemProxy section */
...@@ -456,10 +456,10 @@ ...@@ -456,10 +456,10 @@
target = 8D1107260486CEB800E47090 /* VLC */; target = 8D1107260486CEB800E47090 /* VLC */;
targetProxy = 632F3C270D316FB5003BBC56 /* PBXContainerItemProxy */; targetProxy = 632F3C270D316FB5003BBC56 /* PBXContainerItemProxy */;
}; };
637F33EB0D2AEE4B001E70AB /* PBXTargetDependency */ = { 632F3CC60D318E3A003BBC56 /* PBXTargetDependency */ = {
isa = PBXTargetDependency; isa = PBXTargetDependency;
target = 637F33DF0D2AEE05001E70AB /* vlc-framework-app */; name = "vlc-contrib-core-framework";
targetProxy = 637F33EA0D2AEE4B001E70AB /* PBXContainerItemProxy */; targetProxy = 632F3CC50D318E3A003BBC56 /* PBXContainerItemProxy */;
}; };
/* End PBXTargetDependency section */ /* End PBXTargetDependency section */
......
...@@ -76,9 +76,9 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] ) ...@@ -76,9 +76,9 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
for (i = 0; i < _dyld_image_count(); i++) for (i = 0; i < _dyld_image_count(); i++)
{ {
char * psz_img_name = _dyld_get_image_name(i); char * psz_img_name = _dyld_get_image_name(i);
/* Check for "VLCKit.framework/Versions/Current/VLC", /* Check for "VLCKit.framework/Versions/Current/VLCKit",
* as well as "VLCKit.framework/Versions/A/VLC" and * as well as "VLCKit.framework/Versions/A/VLCKit" and
* "VLC.framework/Versions/B/VLC" */ * "VLC.framework/Versions/B/VLCKit" */
if( p_char = strstr( psz_img_name, "VLCKit.framework/Versions/" )) if( p_char = strstr( psz_img_name, "VLCKit.framework/Versions/" ))
{ {
/* Look for the next forward slash */ /* Look for the next forward slash */
...@@ -87,7 +87,7 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] ) ...@@ -87,7 +87,7 @@ void system_Init( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
p_char++; p_char++;
/* If the string ends with VLC then we've found a winner */ /* If the string ends with VLC then we've found a winner */
if ( !strcmp( p_char, "/VLC" ) ) if ( !strcmp( p_char, "/VLCKit" ) )
{ {
p_char = strdup( psz_img_name ); p_char = strdup( psz_img_name );
break; break;
......
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