Discussion:
[libdvdcss-devel] Move DVD_CHALLENGE_SIZE macro to the only file it is used.
Diego Biurrun
2014-11-11 13:47:12 UTC
Permalink
libdvdcss | branch: master | Diego Biurrun <***@biurrun.de> | Thu Nov 6 18:39:50 2014 +0100| [d5ed25dc1b6d9813e9b0e54c95117a764e01fc7f] | committer: Diego Biurrun

Move DVD_CHALLENGE_SIZE macro to the only file it is used.
http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=d5ed25dc1b6d9813e9b0e54c95117a764e01fc7f
---

src/ioctl.c | 2 ++
src/ioctl.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/ioctl.c b/src/ioctl.c
index a52a5b3..1c6f51a 100644
--- 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
*****************************************************************************/
diff --git a/src/ioctl.h b/src/ioctl.h
index 60d7868..ded1d3c 100644
--- a/src/ioctl.h
+++ b/src/ioctl.h
@@ -38,7 +38,6 @@ int ioctl_SendKey2 ( int, const int *, const uint8_t * );
int ioctl_ReportRPC ( int, int *, int *, int * );

#define DVD_KEY_SIZE 5
-#define DVD_CHALLENGE_SIZE 10
#define DVD_DISCKEY_SIZE 2048

/*****************************************************************************
Loading...