# HG changeset patch # User diego # Date 1220041356 0 # Node ID 60bd1a7f3fc6084fe2248ca8c7cd27dbbe1eb58a # Parent 5a30f5bc23a09f2f3c7b2bbaa851755f426fd917 Sync libdvdcss with upstream version 1.2.10. diff -r 5a30f5bc23a0 -r 60bd1a7f3fc6 Changelog --- 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 diff -r 5a30f5bc23a0 -r 60bd1a7f3fc6 Copyright --- 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 diff -r 5a30f5bc23a0 -r 60bd1a7f3fc6 libdvdcss/common.h --- 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 + * Authors: Sam Hocevar * Vincent Seguin * Gildas Bazin * diff -r 5a30f5bc23a0 -r 60bd1a7f3fc6 libdvdcss/css.c --- 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 diff -r 5a30f5bc23a0 -r 60bd1a7f3fc6 libdvdcss/device.h --- 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 - * Samuel Hocevar + * Sam Hocevar * Håkan Hjort * * This program is free software; you can redistribute it and/or modify diff -r 5a30f5bc23a0 -r 60bd1a7f3fc6 libdvdcss/dvdcss/dvdcss.h --- 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 - * \author Samuel Hocevar + * \author Sam Hocevar * \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 diff -r 5a30f5bc23a0 -r 60bd1a7f3fc6 libdvdcss/error.c --- 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 + * Author: Sam Hocevar * * 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 diff -r 5a30f5bc23a0 -r 60bd1a7f3fc6 libdvdcss/ioctl.c --- 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 - * Samuel Hocevar + * Sam Hocevar * Jon Lech Johansen * Håkan Hjort * Eugenio Jarosiewicz diff -r 5a30f5bc23a0 -r 60bd1a7f3fc6 libdvdcss/ioctl.h --- 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 + * Authors: Sam Hocevar * * 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 diff -r 5a30f5bc23a0 -r 60bd1a7f3fc6 libdvdcss/libdvdcss.c --- 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 - * Samuel Hocevar + * Sam Hocevar * Håkan Hjort * - * 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; } + diff -r 5a30f5bc23a0 -r 60bd1a7f3fc6 libdvdcss/libdvdcss.h --- 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 - * Samuel Hocevar + * Sam Hocevar * * 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