[libbluray-devel] Use app-provided file system handler for BD-J cache read/write.
hpi1
git at videolan.org
Sun Apr 19 16:16:46 CEST 2015
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Apr 19 17:09:52 2015 +0300| [b2ec24c5a9bec283a16930205c0d494332f1c425] | committer: hpi1
Use app-provided file system handler for BD-J cache read/write.
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=b2ec24c5a9bec283a16930205c0d494332f1c425
---
src/libbluray/disc/disc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libbluray/disc/disc.c b/src/libbluray/disc/disc.c
index e4baf7f..c269cd2 100644
--- a/src/libbluray/disc/disc.c
+++ b/src/libbluray/disc/disc.c
@@ -96,7 +96,7 @@ static BD_FILE_H *_overlay_open_path(BD_DISC *p, const char *rel_path)
if (p->overlay_root) {
char *abs_path = str_printf("%s%s", p->overlay_root, rel_path);
- fp = file_open_default()(abs_path, "rb");
+ fp = file_open(abs_path, "rb");
X_FREE(abs_path);
}
@@ -437,7 +437,7 @@ int disc_cache_bdrom_file(BD_DISC *p, const char *rel_path, const char *cache_pa
file_mkdirs(cache_path);
/* output file in local filesystem */
- fp_out = file_open_default()(cache_path, "wb");
+ fp_out = file_open(cache_path, "wb");
if (!fp_out) {
BD_DEBUG(DBG_FILE | DBG_CRIT, "error creating cache file %s\n", cache_path);
file_close(fp_in);
More information about the libbluray-devel
mailing list