[libdvdcss-devel] [Git][videolan/libdvdcss][master] Match AttackPattern() declaration and definition
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Wed Aug 6 15:32:15 UTC 2025
Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdcss
Commits:
e2fe04a0 by Steve Lhomme at 2025-08-06T15:30:41+00:00
Match AttackPattern() declaration and definition
Fixes this warning:
../src/css.c:1644:41: warning: argument 'p_sec' of type 'const uint8_t[2048]' (aka 'const unsigned char[2048]') with mismatched bound [-Warray-parameter]
static int AttackPattern( const uint8_t p_sec[ DVDCSS_BLOCK_SIZE ],
^
../src/css.c:82:44: note: previously declared as 'const uint8_t[]' (aka 'const unsigned char[]') here
static int AttackPattern ( const uint8_t[], uint8_t * );
^
- - - - -
1 changed file:
- src/css.c
Changes:
=====================================
src/css.c
=====================================
@@ -79,7 +79,7 @@ static int RecoverTitleKey ( int, const uint8_t *,
const uint8_t *, const uint8_t *, uint8_t * );
static int CrackTitleKey ( dvdcss_t, int, int, dvd_key );
-static int AttackPattern ( const uint8_t[], uint8_t * );
+static int AttackPattern ( const uint8_t p_sec[ DVDCSS_BLOCK_SIZE ], uint8_t * );
#if 0
static int AttackPadding ( const uint8_t[] );
#endif
View it on GitLab: https://code.videolan.org/videolan/libdvdcss/-/commit/e2fe04a0253e0fd61cb91b984d0740a6c092c0f1
--
View it on GitLab: https://code.videolan.org/videolan/libdvdcss/-/commit/e2fe04a0253e0fd61cb91b984d0740a6c092c0f1
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the libdvdcss-devel
mailing list