[libbluray-devel] commit: Cosmetics (indent) (hpi1 )

git at videolan.org git at videolan.org
Mon Oct 25 11:58:28 CEST 2010


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Oct 18 20:14:53 2010 +0300| [a9c8e11335ec6b65e710d45585cec4dd9d05b2ff] | committer: hpi1 

Cosmetics (indent)

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

 src/libbluray/bluray.c |   46 +++++++++++++++++++++++-----------------------
 1 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index aee17ed..60cf12c 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -538,35 +538,35 @@ static int _libbdplus_open(BLURAY *bd, const char *keyfile_path)
         0xC5,0x43,0xEF,0x2A,0x15,0x0E,0x50,0xC4,0xE2,0xCA,
         0x71,0x65,0xB1,0x7C,0xA7,0xCB}; // FIXME
 
-        DEBUG(DBG_BDPLUS, "attempting to load libbdplus\n");
+    DEBUG(DBG_BDPLUS, "attempting to load libbdplus\n");
 #ifdef DLOPEN_CRYPTO_LIBS
-        if ((bd->h_libbdplus = dl_dlopen("libbdplus", "0"))) {
-            DEBUG(DBG_BLURAY, "Downloaded libbdplus (%p)\n", bd->h_libbdplus);
+    if ((bd->h_libbdplus = dl_dlopen("libbdplus", "0"))) {
+        DEBUG(DBG_BLURAY, "Downloaded libbdplus (%p)\n", bd->h_libbdplus);
 
-            fptr_p_void bdplus_init = dl_dlsym(bd->h_libbdplus, "bdplus_init");
-            //bdplus_t *bdplus_init(path,configfile_path,*vid );
-            if (bdplus_init)
-                bd->bdplus = bdplus_init(bd->device_path, keyfile_path, vid);
-
-            if (bd->bdplus) {
-                // Since we will call these functions a lot, we assign them
-                // now.
-                bd->bdplus_seek  = dl_dlsym(bd->h_libbdplus, "bdplus_seek");
-                bd->bdplus_fixup = dl_dlsym(bd->h_libbdplus, "bdplus_fixup");
-            } else {
-                dl_dlclose(bd->h_libbdplus);
-                bd->h_libbdplus = NULL;
-            }
+        fptr_p_void bdplus_init = dl_dlsym(bd->h_libbdplus, "bdplus_init");
+        //bdplus_t *bdplus_init(path,configfile_path,*vid );
+        if (bdplus_init) {
+            bd->bdplus = bdplus_init(bd->device_path, keyfile_path, vid);
         }
+        if (bd->bdplus) {
+            // Since we will call these functions a lot, we assign them
+            // now.
+            bd->bdplus_seek  = dl_dlsym(bd->h_libbdplus, "bdplus_seek");
+            bd->bdplus_fixup = dl_dlsym(bd->h_libbdplus, "bdplus_fixup");
+        } else {
+            dl_dlclose(bd->h_libbdplus);
+            bd->h_libbdplus = NULL;
+        }
+    }
 #else
-        DEBUG(DBG_BLURAY,"Using libbdplus via normal linking\n");
+    DEBUG(DBG_BLURAY,"Using libbdplus via normal linking\n");
 
-        bd->bdplus = bdplus_init(bd->device_path, keyfile_path, vid);
+    bd->bdplus = bdplus_init(bd->device_path, keyfile_path, vid);
 
-        // Since we will call these functions a lot, we assign them
-        // now.
-        bd->bdplus_seek  = &bdplus_seek;
-        bd->bdplus_fixup = &bdplus_fixup;
+    // Since we will call these functions a lot, we assign them
+    // now.
+    bd->bdplus_seek  = &bdplus_seek;
+    bd->bdplus_fixup = &bdplus_fixup;
 #endif
 
     return !!bd->bdplus;



More information about the libbluray-devel mailing list