changeset 27462:60bd1a7f3fc6

Sync libdvdcss with upstream version 1.2.10.
author diego
date Fri, 29 Aug 2008 20:22:36 +0000
parents 5a30f5bc23a0
children e16088a911c1
files Changelog Copyright libdvdcss/common.h libdvdcss/css.c libdvdcss/device.h libdvdcss/dvdcss/dvdcss.h libdvdcss/error.c libdvdcss/ioctl.c libdvdcss/ioctl.h libdvdcss/libdvdcss.c libdvdcss/libdvdcss.h
diffstat 11 files changed, 18 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/Changelog	Fri Aug 29 20:05:08 2008 +0000
+++ b/Changelog	Fri Aug 29 20:22:36 2008 +0000
@@ -81,6 +81,7 @@
     * support for DOS-style file:///x:/path paths
     * some new slave commands (check DOCS/tech/slave.txt)
     * misc fixes to libass
+    * libdvdcss updated to 1.2.10, now same as upstream version
 
     Ports:
     * small crash with vo_macosx fixed
--- a/Copyright	Fri Aug 29 20:05:08 2008 +0000
+++ b/Copyright	Fri Aug 29 20:22:36 2008 +0000
@@ -42,10 +42,10 @@
 License:    GNU General Public License
 
 Name:       libdvdcss
-Version:    Subversion r212 (post 1.2.9 release)
+Version:    1.2.10
 Homepage:   http://developers.videolan.org/libdvdcss/
 Directory:  libdvdcss
-Copyright:  1998-2006 VideoLAN
+Copyright:  1998-2008 VideoLAN
 License:    GNU General Public License
 
 Name:       libdvdread
--- a/libdvdcss/common.h	Fri Aug 29 20:05:08 2008 +0000
+++ b/libdvdcss/common.h	Fri Aug 29 20:22:36 2008 +0000
@@ -5,7 +5,7 @@
  * Copyright (C) 1998, 1999, 2000 VideoLAN
  * $Id$
  *
- * Authors: Samuel Hocevar <sam@via.ecp.fr>
+ * Authors: Sam Hocevar <sam@via.ecp.fr>
  *          Vincent Seguin <seguin@via.ecp.fr>
  *          Gildas Bazin <gbazin@netcourrier.com>
  *
--- a/libdvdcss/css.c	Fri Aug 29 20:05:08 2008 +0000
+++ b/libdvdcss/css.c	Fri Aug 29 20:22:36 2008 +0000
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * css.c: Functions for DVD authentication and descrambling
  *****************************************************************************
- * Copyright (C) 1999-2003 VideoLAN
+ * Copyright (C) 1999-2008 VideoLAN
  * $Id$
  *
  * Authors: Stéphane Borel <stef@via.ecp.fr>
--- a/libdvdcss/device.h	Fri Aug 29 20:05:08 2008 +0000
+++ b/libdvdcss/device.h	Fri Aug 29 20:22:36 2008 +0000
@@ -5,7 +5,7 @@
  * $Id$
  *
  * Authors: Stéphane Borel <stef@via.ecp.fr>
- *          Samuel Hocevar <sam@zoy.org>
+ *          Sam Hocevar <sam@zoy.org>
  *          Håkan Hjort <d95hjort@dtek.chalmers.se>
  *
  * This program is free software; you can redistribute it and/or modify
--- a/libdvdcss/dvdcss/dvdcss.h	Fri Aug 29 20:05:08 2008 +0000
+++ b/libdvdcss/dvdcss/dvdcss.h	Fri Aug 29 20:22:36 2008 +0000
@@ -1,7 +1,7 @@
 /**
  * \file dvdcss.h
  * \author Stéphane Borel <stef@via.ecp.fr>
- * \author Samuel Hocevar <sam@zoy.org>
+ * \author Sam Hocevar <sam@zoy.org>
  * \brief The \e libdvdcss public header.
  *
  * This header contains the public types and functions that applications
@@ -9,7 +9,7 @@
  */
 
 /*
- * Copyright (C) 1998-2002 VideoLAN
+ * Copyright (C) 1998-2008 VideoLAN
  * $Id$
  *
  * This program is free software; you can redistribute it and/or modify
--- a/libdvdcss/error.c	Fri Aug 29 20:05:08 2008 +0000
+++ b/libdvdcss/error.c	Fri Aug 29 20:22:36 2008 +0000
@@ -4,7 +4,7 @@
  * Copyright (C) 1998-2002 VideoLAN
  * $Id$
  *
- * Author: Samuel Hocevar <sam@zoy.org>
+ * Author: Sam Hocevar <sam@zoy.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
--- a/libdvdcss/ioctl.c	Fri Aug 29 20:05:08 2008 +0000
+++ b/libdvdcss/ioctl.c	Fri Aug 29 20:22:36 2008 +0000
@@ -5,7 +5,7 @@
  * $Id$
  *
  * Authors: Markus Kuespert <ltlBeBoy@beosmail.com>
- *          Samuel Hocevar <sam@zoy.org>
+ *          Sam Hocevar <sam@zoy.org>
  *          Jon Lech Johansen <jon-vl@nanocrew.net>
  *          Håkan Hjort <d95hjort@dtek.chalmers.se>
  *          Eugenio Jarosiewicz <ej0@cise.ufl.edu>
--- a/libdvdcss/ioctl.h	Fri Aug 29 20:05:08 2008 +0000
+++ b/libdvdcss/ioctl.h	Fri Aug 29 20:22:36 2008 +0000
@@ -4,7 +4,7 @@
  * Copyright (C) 1999-2001 VideoLAN
  * $Id$
  *
- * Authors: Samuel Hocevar <sam@zoy.org>
+ * Authors: Sam Hocevar <sam@zoy.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
--- a/libdvdcss/libdvdcss.c	Fri Aug 29 20:05:08 2008 +0000
+++ b/libdvdcss/libdvdcss.c	Fri Aug 29 20:22:36 2008 +0000
@@ -1,10 +1,10 @@
 /* libdvdcss.c: DVD reading library.
  *
  * Authors: Stéphane Borel <stef@via.ecp.fr>
- *          Samuel Hocevar <sam@zoy.org>
+ *          Sam Hocevar <sam@zoy.org>
  *          Håkan Hjort <d95hjort@dtek.chalmers.se>
  *
- * Copyright (C) 1998-2002 VideoLAN
+ * Copyright (C) 1998-2008 VideoLAN
  * $Id$
  *
  * This program is free software; you can redistribute it and/or modify
@@ -371,8 +371,7 @@
 
         if( i_ret < 0 )
         {
-            print_debug( dvdcss,
-                         "could not get disc key" );
+            print_debug( dvdcss, "could not get disc key" );
         }
     }
     else
@@ -474,7 +473,7 @@
             {
                 char psz_tmp[16 + 1];
                 sprintf( psz_tmp,
-                         "%.2"PRIx8"%.2"PRIx8"%.2"PRIx8"%.2"PRIx8"%.2"PRIx8"%.2"PRIx8"%.2"PRIx8"%.2"PRIx8"",
+                         "%.2x%.2x%.2x%.2x%.2x%.2x%.2x%.2x",
                          psz_serial[0], psz_serial[1], psz_serial[2],
                          psz_serial[3], psz_serial[4], psz_serial[5],
                          psz_serial[6], psz_serial[7] );
@@ -490,7 +489,7 @@
              psz_key[0] = '-';
              for( i = 0; i < KEY_SIZE; i++ )
              {
-                 sprintf( &psz_key[1+i*2], "%.2"PRIx8, dvdcss->css.p_disc_key[i] );
+                 sprintf( &psz_key[1+i*2], "%.2x", dvdcss->css.p_disc_key[i] );
              }
              psz_key[1 + KEY_SIZE * 2] = '\0';
         }
@@ -809,3 +808,4 @@
 {
     return dvdcss->b_scrambled;
 }
+
--- a/libdvdcss/libdvdcss.h	Fri Aug 29 20:05:08 2008 +0000
+++ b/libdvdcss/libdvdcss.h	Fri Aug 29 20:22:36 2008 +0000
@@ -5,7 +5,7 @@
  * $Id$
  *
  * Authors: Stéphane Borel <stef@via.ecp.fr>
- *          Samuel Hocevar <sam@zoy.org>
+ *          Sam Hocevar <sam@zoy.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by