changeset 31052:a2525319f373

Try other methods also if GetBusKey fails instead of failing completely.
author reimar
date Sun, 25 Apr 2010 16:39:39 +0000
parents 109e37bbb151
children f4dce44bbbae
files libdvdcss/css.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libdvdcss/css.c	Sun Apr 25 16:20:54 2010 +0000
+++ b/libdvdcss/css.c	Sun Apr 25 16:39:39 2010 +0000
@@ -379,7 +379,7 @@
         /* We need to authenticate again every time to get a new session key */
         if( GetBusKey( dvdcss ) < 0 )
         {
-            return -1;
+            i_ret = -1;
         }
 
         /* Get encrypted title key */