Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
82b233f6
Commit
82b233f6
authored
Feb 18, 2006
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/mp4/drms.c: mostly cosmetic changes.
parent
dfe55f80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/demux/mp4/drms.c
modules/demux/mp4/drms.c
+3
-3
No files found.
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
[]
=
"
v8rhvsaAvOKM
FfUH%798=[;."
"
f8677680a634
ba87fnOIf)(*"
;
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