Currently when _calc_uks returns an error it is only logged and
the aacs-waterfall in aacs_open_device continues - but this doesn't
make any sense because a crucial step already failed.
Now the error value is returned to the calling party.
---
src/libaacs/aacs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/libaacs/aacs.c b/src/libaacs/aacs.c
index 1bd8ad5..cdc857d 100644
--- a/src/libaacs/aacs.c
+++ b/src/libaacs/aacs.c
@@ -1075,6 +1075,7 @@ int aacs_open_device(AACS *aacs, const char *path, const
char *configfile_path)
error_code = _calc_uks(aacs, cf);
if (error_code != AACS_SUCCESS) {
BD_DEBUG(DBG_AACS, "Failed to initialize AACS!\n");
+ return error_code;
}
aacs->cc = _read_cc_any(aacs);
--
2.6.3.windows.1
_______________________________________________
libaacs-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libaacs-devel