shithub: libdvdcss

Download patch

ref: a9aa3b2f714aad8a5d47c20b2741a8e4d3455c2b
parent: 046d391fc90c62aa0afec5eb7c383c29b13bc885
author: Sam Hocevar <[email protected]>
date: Sat Aug 10 17:19:55 EDT 2002

* ./src/css.c: removed useless debug messages on Håkan's advice.


--- a/src/css.c
+++ b/src/css.c
@@ -2,7 +2,7 @@
  * css.c: Functions for DVD authentication and descrambling
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: css.c,v 1.14 2002/08/10 14:27:26 sam Exp $
+ * $Id: css.c,v 1.15 2002/08/10 21:19:55 sam Exp $
  *
  * Author: St�phane Borel <[email protected]>
  *         H�kan Hjort <[email protected]>
@@ -357,9 +357,7 @@
     dvd_key_t p_disc_key;
     int i;
 
-    _dvdcss_debug( dvdcss, "retrieving disc key by all means" );
-
-    if( GetBusKey( dvdcss ) < 0)
+    if( GetBusKey( dvdcss ) < 0 )
     {
         return -1;
     }
@@ -440,8 +438,6 @@
     u8  p_key[KEY_SIZE];
     int i, i_ret = 0;
 
-    _dvdcss_debug( dvdcss, "retrieving title key by all means" );
-
     if( dvdcss->b_ioctls && ( dvdcss->i_method == DVDCSS_METHOD_KEY || 
                               dvdcss->i_method == DVDCSS_METHOD_DISC ) )
     {
@@ -449,7 +445,7 @@
          * read the title key and decrypt it.
          */
 
-        _dvdcss_debug( dvdcss, "getting disc key the classic way" );
+        _dvdcss_debug( dvdcss, "getting title key the classic way" );
 
         /* We need to authenticate again every time to get a new session key */
         if( GetBusKey( dvdcss ) < 0 )