# HG changeset patch # User reimar # Date 1272213579 0 # Node ID a2525319f3736268276ce256e34bec29dcca8f8e # Parent 109e37bbb15134d6061abe2d2de661a90c16d53f Try other methods also if GetBusKey fails instead of failing completely. diff -r 109e37bbb151 -r a2525319f373 libdvdcss/css.c --- 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 */