Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
82b233f6
Commit
82b233f6
authored
Feb 18, 2006
by
Sam Hocevar
Browse files
* modules/demux/mp4/drms.c: mostly cosmetic changes.
parent
dfe55f80
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/mp4/drms.c
View file @
82b233f6
...
...
@@ -702,8 +702,8 @@ static void InitShuffle( struct shuffle_s *p_shuffle, uint32_t *p_sys_key,
uint32_t
i_version
)
{
char
p_secret1
[]
=
"Tv!*"
;
static
char
const
p_secret2
[]
=
"v8rhvsaAvOKMFfUH%798=[;."
"f8677680a634ba87fnOIf)(*"
;
static
char
const
p_secret2
[]
=
"
____
v8rhvsaAvOKM
____
FfUH%798=[;."
"
____
f8677680a634
____
ba87fnOIf)(*"
;
unsigned
int
i
;
p_shuffle
->
i_version
=
i_version
;
...
...
@@ -728,10 +728,10 @@ static void InitShuffle( struct shuffle_s *p_shuffle, uint32_t *p_sys_key,
}
/* Fill p_bordel with completely meaningless initial values. */
memcpy
(
p_shuffle
->
p_bordel
,
p_secret2
,
64
);
for
(
i
=
0
;
i
<
4
;
i
++
)
{
p_shuffle
->
p_bordel
[
4
*
i
]
=
U32_AT
(
p_sys_key
+
i
);
memcpy
(
p_shuffle
->
p_bordel
+
4
*
i
+
1
,
p_secret2
+
12
*
i
,
12
);
REVERSE
(
p_shuffle
->
p_bordel
+
4
*
i
+
1
,
3
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment