Browse Source

Fix typo, which could cause issues with fileURLs

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Stefan Schmidt-Bilkenroth 9 years ago
parent
commit
c721a6bc75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/VLCMedia.m

+ 1 - 1
Sources/VLCMedia.m

@@ -836,7 +836,7 @@ NSString *const VLCMediaTracksInformationTextEncoding = @"encoding"; // NSString
 
     _url = [NSURL URLWithString:urlString];
     if (!_url) /* Attempt to interpret as a file path then */ {
-         _url = [NSURL fileURLWithPath:_url];
+         _url = [NSURL fileURLWithPath:urlString];
          if(!_url) {
              free(p_url);
              return;