[libbluray-devel] Cosmetics
hpi1
git at videolan.org
Mon Aug 27 11:36:03 CEST 2018
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Aug 27 11:13:59 2018 +0300| [e1196f5dd8a4c92a908b8db1ecaab40a05289e9d] | committer: hpi1
Cosmetics
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=e1196f5dd8a4c92a908b8db1ecaab40a05289e9d
---
src/libbluray/disc/udf_fs.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/libbluray/disc/udf_fs.c b/src/libbluray/disc/udf_fs.c
index bcb624cd..9b92d597 100644
--- a/src/libbluray/disc/udf_fs.c
+++ b/src/libbluray/disc/udf_fs.c
@@ -263,20 +263,20 @@ void *udf_image_open(const char *img_path,
}
} else {
- /* app handles file I/O ? */
- if (result < 0 && file_open != file_open_default()) {
- struct udfread_block_input *bi = _block_input(img_path);
- if (bi) {
- result = udfread_open_input(udf, bi);
- if (result < 0) {
- bi->close(bi);
+ /* app handles file I/O ? */
+ if (result < 0 && file_open != file_open_default()) {
+ struct udfread_block_input *bi = _block_input(img_path);
+ if (bi) {
+ result = udfread_open_input(udf, bi);
+ if (result < 0) {
+ bi->close(bi);
+ }
}
}
- }
- if (result < 0) {
- result = udfread_open(udf, img_path);
- }
+ if (result < 0) {
+ result = udfread_open(udf, img_path);
+ }
}
if (result < 0) {
More information about the libbluray-devel
mailing list