[libbdplus-devel] [PATCH] Fix bdplus_test

Andreas Zelend ace at kodi.tv
Sun Apr 9 13:02:06 CEST 2017


From: ace20022 <ace20022 at ymail.com>

---
 src/examples/bdplus_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/examples/bdplus_test.c b/src/examples/bdplus_test.c
index d4d1328..1d0abee 100644
--- a/src/examples/bdplus_test.c
+++ b/src/examples/bdplus_test.c
@@ -75,7 +75,7 @@ static void _libaacs_get_vid(uint8_t *vid, uint8_t *mk, const char *root)
     memcpy(vid, aacs_vid, 16);
 
     const uint8_t *aacs_mk = aacs_get_mk(aacs);
-    if (!aacs_vid) {
+    if (!aacs_mk) {
         fprintf(stderr, "aacs_get_mk() failed.\n");
         aacs_close(aacs);
         exit(1);
-- 
2.12.0.windows.1



More information about the libbdplus-devel mailing list