Call fileSystemRepresentation directly on NSURL.

This commit is contained in:
Damiano Galassi committed 2016-09-09 17:14:45 +02:00
1 parent 598bb185c9
commit e8e0db5da1
7 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -165,7 +165,7 @@ static int readMkvPacket(struct StdIoStream *ioStream, TrackInfo *trackInfo, ui
{
if ((self = [super initWithURL:fileURL])) {
_ioStream = calloc(1, sizeof(StdIoStream));
_matroskaFile = openMatroskaFile(self.fileURL.path.fileSystemRepresentation, _ioStream);
_matroskaFile = openMatroskaFile(self.fileURL.fileSystemRepresentation, _ioStream);
if (!_matroskaFile) {
if (outError) {