Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
d0f40636
Commit
d0f40636
authored
Oct 06, 2015
by
James Zern
Browse files
vpx_memset16: drop unnecessary local
+ add a cast Change-Id: I2965e7867223aa25bf688c988629ac57b4971905
parent
35540898
Changes
1
Hide whitespace changes
Inline
Side-by-side
vpx_mem/vpx_mem.c
View file @
d0f40636
...
...
@@ -94,10 +94,9 @@ void vpx_free(void *memblk) {
#if CONFIG_VP9_HIGHBITDEPTH
void
*
vpx_memset16
(
void
*
dest
,
int
val
,
size_t
length
)
{
size_t
i
;
void
*
orig
=
dest
;
uint16_t
*
dest16
=
dest
;
uint16_t
*
dest16
=
(
uint16_t
*
)
dest
;
for
(
i
=
0
;
i
<
length
;
i
++
)
*
dest16
++
=
val
;
return
orig
;
return
dest
;
}
#endif // CONFIG_VP9_HIGHBITDEPTH
Write
Preview
Supports
Markdown
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