[libbdplus-devel] Fix bdplus_test

ace20022 git at videolan.org
Sun Apr 9 14:02:05 CEST 2017


libbdplus | branch: master | ace20022 <ace20022 at ymail.com> | Sun Apr  9 13:02:06 2017 +0200| [795a9e43d904f948c096dbe34a8e647177b5bb2a] | committer: anonymous

Fix bdplus_test

> http://git.videolan.org/gitweb.cgi/libbdplus.git/?a=commit;h=795a9e43d904f948c096dbe34a8e647177b5bb2a
---

 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);



More information about the libbdplus-devel mailing list