changeset 26234:f0788169e503

Ignore if we fail to get disc key, fixes playback of one of my DVDs which claims to be scrambled but actually is not, and always allows to fallback to cached keys.
author reimar
date Fri, 21 Mar 2008 12:31:47 +0000
parents 9c60ef221fa6
children 635327338b41
files libdvdcss/libdvdcss.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libdvdcss/libdvdcss.c	Wed Mar 19 15:46:37 2008 +0000
+++ b/libdvdcss/libdvdcss.c	Fri Mar 21 12:31:47 2008 +0000
@@ -371,10 +371,8 @@
 
         if( i_ret < 0 )
         {
-            _dvdcss_close( dvdcss );
-            free( dvdcss->psz_device );
-            free( dvdcss );
-            return NULL;
+            print_debug( dvdcss,
+                         "could not get disc key" );
         }
     }