Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
46025ce5
Commit
46025ce5
authored
Feb 13, 2014
by
James Zern
Committed by
Gerrit Code Review
Feb 13, 2014
Browse files
Merge "vp9/vp9_cx_iface: Silence ts_number_layers MSVC warnings"
parents
95abad91
ad2fa5e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vp9/vp9_cx_iface.c
vp9/vp9_cx_iface.c
+2
-2
No files found.
vp9/vp9_cx_iface.c
View file @
46025ce5
...
...
@@ -178,7 +178,7 @@ static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx,
RANGE_CHECK
(
cfg
,
ts_number_layers
,
1
,
VPX_TS_MAX_LAYERS
);
if
(
cfg
->
ts_number_layers
>
1
)
{
int
i
;
unsigned
int
i
;
for
(
i
=
1
;
i
<
cfg
->
ts_number_layers
;
++
i
)
{
if
(
cfg
->
ts_target_bitrate
[
i
]
<
cfg
->
ts_target_bitrate
[
i
-
1
])
{
ERROR
(
"ts_target_bitrate entries are not increasing"
);
...
...
@@ -1045,7 +1045,7 @@ static vpx_codec_err_t vp9e_set_svc_layer_id(vpx_codec_alg_priv_t *ctx,
cpi
->
svc
.
temporal_layer_id
=
data
->
temporal_layer_id
;
// Checks on valid layer_id input.
if
(
cpi
->
svc
.
temporal_layer_id
<
0
||
cpi
->
svc
.
temporal_layer_id
>=
ctx
->
cfg
.
ts_number_layers
)
{
cpi
->
svc
.
temporal_layer_id
>=
(
int
)
ctx
->
cfg
.
ts_number_layers
)
{
return
VPX_CODEC_INVALID_PARAM
;
}
if
(
cpi
->
svc
.
spatial_layer_id
<
0
||
...
...
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