Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
73caef05
Commit
73caef05
authored
Dec 01, 2014
by
Adrian Grange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use memset for initialization to 0
Change-Id: I714ca22b5d51016bf8b035cf457616c707257641
parent
7af927e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_encoder.c
+2
-5
No files found.
vp9/encoder/vp9_encoder.c
View file @
73caef05
...
...
@@ -3217,11 +3217,8 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi,
vp9_clear_system_state
();
#if CONFIG_INTERNAL_STATS
{
int
i
;
for
(
i
=
0
;
i
<
MAX_MODES
;
++
i
)
cpi
->
mode_chosen_counts
[
i
]
=
0
;
}
vpx_memset
(
cpi
->
mode_chosen_counts
,
0
,
MAX_MODES
*
sizeof
(
*
cpi
->
mode_chosen_counts
));
#endif
if
(
cpi
->
sf
.
recode_loop
==
DISALLOW_RECODE
)
{
...
...
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