[libbluray-devel] Log libaacs error code

hpi1 git at videolan.org
Fri Dec 11 14:27:44 CET 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Dec  9 12:07:56 2015 +0200| [bd67132d76658afc8885039b3419d97750b6250e] | committer: hpi1

Log libaacs error code

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

 src/libbluray/disc/dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/disc/dec.c b/src/libbluray/disc/dec.c
index 290dd4d..8c601f7 100644
--- a/src/libbluray/disc/dec.c
+++ b/src/libbluray/disc/dec.c
@@ -205,7 +205,7 @@ static int _libaacs_init(BD_DEC *dec, struct dec_dev *dev,
     }
 
     if (result) {
-        BD_DEBUG(DBG_BLURAY | DBG_CRIT, "aacs_open() failed!\n");
+        BD_DEBUG(DBG_BLURAY | DBG_CRIT, "aacs_open() failed: %d!\n", result);
         libaacs_unload(&dec->aacs);
         return 0;
     }



More information about the libbluray-devel mailing list