Skip to content
GitLab
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
f8746574
Commit
f8746574
authored
Mar 18, 2014
by
James Zern
Committed by
Gerrit Code Review
Mar 18, 2014
Browse files
Merge "onyx_if: quiet -Warray-bounds warnings"
parents
bdfdfeb4
2a19c963
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/onyx_if.c
View file @
f8746574
...
...
@@ -1401,6 +1401,7 @@ static void update_layer_contexts (VP8_COMP *cpi)
unsigned
int
i
;
double
prev_layer_framerate
=
0
;
assert
(
oxcf
->
number_of_layers
<=
VPX_TS_MAX_LAYERS
);
for
(
i
=
0
;
i
<
oxcf
->
number_of_layers
;
i
++
)
{
LAYER_CONTEXT
*
lc
=
&
cpi
->
layer_context
[
i
];
...
...
@@ -5071,6 +5072,7 @@ int vp8_get_compressed_data(VP8_COMP *cpi, unsigned int *frame_flags, unsigned l
unsigned
int
i
;
/* Update frame rates for each layer */
assert
(
cpi
->
oxcf
.
number_of_layers
<=
VPX_TS_MAX_LAYERS
);
for
(
i
=
0
;
i
<
cpi
->
oxcf
.
number_of_layers
;
i
++
)
{
LAYER_CONTEXT
*
lc
=
&
cpi
->
layer_context
[
i
];
...
...
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