[libbluray-devel] Fix build without UDF support

hpi1 git at videolan.org
Mon Feb 22 17:44:53 CET 2016


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Feb 22 18:42:34 2016 +0200| [f607993280c94d1a6d99393aad8ef77f26302c6d] | committer: hpi1

Fix build without UDF support

Broken couple of commits ago.

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=f607993280c94d1a6d99393aad8ef77f26302c6d
---

 src/libbluray/disc/disc.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/libbluray/disc/disc.c b/src/libbluray/disc/disc.c
index 82283f7..4cff450 100644
--- a/src/libbluray/disc/disc.c
+++ b/src/libbluray/disc/disc.c
@@ -287,8 +287,6 @@ BD_DISC *disc_open(const char *device_path,
             dir_close(dp_img);
             BD_DEBUG(DBG_FILE, "%s does not seem to be image file or device node\n", device_path);
         }
-#else
-        (void)read_blocks;
 #endif
 
         struct dec_dev dev = { p->fs_handle, p->pf_file_open_bdrom, p, (file_openFp)disc_open_path, p->disc_root, device_path };



More information about the libbluray-devel mailing list