Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
f0889f4d
Commit
f0889f4d
authored
Dec 11, 2007
by
Pierre d'Herbemont
Browse files
MacOSX/Framework/VLCMediaDiscoverer.m: Use UTF8String instead of cString.
parent
a3633b83
Changes
1
Hide whitespace changes
Inline
Side-by-side
extras/MacOSX/Framework/Sources/VLCMediaDiscoverer.m
View file @
f0889f4d
...
...
@@ -53,7 +53,7 @@ static NSArray * availableMediaDiscoverer = nil;
localizedName
=
nil
;
discoveredMedia
=
nil
;
mdis
=
libvlc_media_discoverer_new_from_name
(
[
VLCLibrary
sharedInstance
],
[
aServiceName
c
String
],
[
aServiceName
UTF8
String
],
&
ex
);
quit_on_exception
(
&
ex
);
}
...
...
@@ -96,7 +96,7 @@ static NSArray * availableMediaDiscoverer = nil;
if
(
name
)
{
aString
=
[
NSString
stringWith
C
String
:
name
encoding
:
NSUTF8StringEncoding
];
aString
=
[
NSString
stringWith
UTF8
String
:
name
];
free
(
name
);
}
if
(
aString
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment