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
817ac44a
Commit
817ac44a
authored
May 12, 2014
by
Yaowu Xu
Committed by
Gerrit Code Review
May 12, 2014
Browse files
Merge "Fixed comparison of different int types"
parents
dbf61d2f
eccad389
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/vp9_cx_iface.c
View file @
817ac44a
...
...
@@ -42,7 +42,7 @@ struct vp9_extracfg {
};
struct
extraconfig_map
{
int
usage
;
unsigned
int
usage
;
struct
vp9_extracfg
cfg
;
};
...
...
@@ -245,7 +245,8 @@ static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx,
layer_id
=
(
int
)
stats
->
spatial_layer_id
;
if
(
layer_id
>=
cfg
->
ss_number_layers
||
(
int
)(
stats
->
count
+
0
.
5
)
!=
n_packets_per_layer
[
layer_id
]
-
1
)
||
(
unsigned
int
)(
stats
->
count
+
0
.
5
)
!=
n_packets_per_layer
[
layer_id
]
-
1
)
ERROR
(
"rc_twopass_stats_in missing EOS stats packet"
);
}
}
else
{
...
...
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