Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
e5d40629
Commit
e5d40629
authored
Jun 19, 2015
by
Yaowu Xu
Committed by
Gerrit Code Review
Jun 19, 2015
Browse files
Merge "Fix a msvc compiler warning"
parents
001baa5d
d8428ae3
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_ratectrl.c
View file @
e5d40629
...
...
@@ -1775,7 +1775,7 @@ int vp9_resize_one_pass_cbr(VP9_COMP *cpi) {
// Resize based on average QP over some window.
// Ignore samples close to key frame, since QP is usually high after key.
if
(
cpi
->
rc
.
frames_since_key
>
2
*
cpi
->
framerate
)
{
const
int
window
=
5
*
cpi
->
framerate
;
const
int
window
=
(
int
)(
5
*
cpi
->
framerate
)
;
cpi
->
resize_avg_qp
+=
cm
->
base_qindex
;
if
(
cpi
->
rc
.
buffer_level
<
0
)
++
cpi
->
resize_buffer_underflow
;
...
...
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