Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
libdvdcss
Commits
3c3fb43d
Commit
3c3fb43d
authored
Oct 25, 2014
by
Diego Biurrun
Browse files
libdvdcss: Drop unnecessary void* pointer casts
parent
9fe737f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libdvdcss.c
View file @
3c3fb43d
...
...
@@ -681,7 +681,7 @@ LIBDVDCSS_EXPORT int dvdcss_readv ( dvdcss_t dvdcss, void *p_iovec,
int
i_blocks
,
int
i_flags
)
{
struct
iovec
*
_p_iovec
=
(
struct
iovec
*
)
p_iovec
;
struct
iovec
*
_p_iovec
=
p_iovec
;
int
i_ret
,
i_index
;
void
*
iov_base
;
size_t
iov_len
;
...
...
@@ -718,7 +718,7 @@ LIBDVDCSS_EXPORT int dvdcss_readv ( dvdcss_t dvdcss, void *p_iovec,
dvdcss_unscramble
(
dvdcss
->
css
.
p_title_key
,
iov_base
);
((
uint8_t
*
)
iov_base
)[
0x14
]
&=
0x8f
;
iov_base
=
(
void
*
)
(
(
uint8_t
*
)
iov_base
+
DVDCSS_BLOCK_SIZE
)
;
iov_base
=
(
uint8_t
*
)
iov_base
+
DVDCSS_BLOCK_SIZE
;
iov_len
-=
DVDCSS_BLOCK_SIZE
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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