diff libdvdcss/css.h @ 31806:383f17e1ef2f

Handle failing ioctls more gracefully for dvdcss. Also set b_scrambled and b_ioctls in the dvdcss_test function instead of both in and outside it and in case of b_scrambled forgetting to set it half of the time.
author reimar
date Sun, 01 Aug 2010 13:52:17 +0000
parents 9e9595c779cf
children cda66f57f7a5
line wrap: on
line diff
--- a/libdvdcss/css.h	Sun Aug 01 13:30:26 2010 +0000
+++ b/libdvdcss/css.h	Sun Aug 01 13:52:17 2010 +0000
@@ -48,7 +48,7 @@
 /*****************************************************************************
  * Prototypes in css.c
  *****************************************************************************/
-int   _dvdcss_test        ( dvdcss_t );
+void  _dvdcss_test        ( dvdcss_t );
 int   _dvdcss_title       ( dvdcss_t, int );
 int   _dvdcss_disckey     ( dvdcss_t );
 int   _dvdcss_titlekey    ( dvdcss_t, int , dvd_key_t );