shithub: libdvdcss

Download patch

ref: d5ed25dc1b6d9813e9b0e54c95117a764e01fc7f
parent: e8c0c4475b35c5a6c95794e51fd4c242f7af3d3d
author: Diego Biurrun <diego@biurrun.de>
date: Thu Nov 6 13:39:50 EST 2014

Move DVD_CHALLENGE_SIZE macro to the only file it is used.

--- a/src/ioctl.c
+++ b/src/ioctl.c
@@ -87,6 +87,8 @@
 #include "common.h"
 #include "ioctl.h"
 
+#define DVD_CHALLENGE_SIZE 10
+
 /*****************************************************************************
  * Local prototypes, OS-specific
  *****************************************************************************/
--- a/src/ioctl.h
+++ b/src/ioctl.h
@@ -38,7 +38,6 @@
 int ioctl_ReportRPC         ( int, int *, int *, int * );
 
 #define DVD_KEY_SIZE 5
-#define DVD_CHALLENGE_SIZE 10
 #define DVD_DISCKEY_SIZE 2048
 
 /*****************************************************************************