Skip to content

Commit

Permalink
libbluray: Add cache dir patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
ace20022 committed Jul 7, 2017
1 parent f813351 commit c52bca7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions patches/libbluray.diff
Original file line number Diff line number Diff line change
Expand Up @@ -436,3 +436,14 @@
/**
* @file udfread/udfread.h
* external API header
--- a/src/libbluray/bdj/java/org/videolan/VFSCache.java
+++ b/src/libbluray/bdj/java/org/videolan/VFSCache.java
@@ -294,7 +294,7 @@ class VFSCache {
String[] names = Libbluray.listBdFiles(relPath, true);
if (names != null) {
/* this is directory. Make sure it exists. */
- Libbluray.cacheBdRomFile(relPath + "/", cacheRoot + relPath + "/");
+ Libbluray.cacheBdRomFile(relPath + File.separator, cacheRoot + relPath + File.separator);
return;
}

0 comments on commit c52bca7

Please sign in to comment.