shithub: libdvdcss

Download patch

ref: b925ffff053d2fc5b0f1cb8ef41f64ecf6182ec3
parent: 502c6dbe21c613bb6d5b9c555df5aebd481b29d9
author: Diego Biurrun <diego@biurrun.de>
date: Fri Aug 29 14:57:42 EDT 2008

* libdvdcss.c: ignore failure to get the disc key in case we have a
    chance to decrypt anyway afterwards. 

--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -371,10 +371,7 @@
 
         if( i_ret < 0 )
         {
-            _dvdcss_close( dvdcss );
-            free( dvdcss->psz_device );
-            free( dvdcss );
-            return NULL;
+            print_debug( dvdcss, "could not get disc key" );
         }
     }
     else