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
2fd31bbb
Commit
2fd31bbb
authored
Jun 09, 2015
by
Debargha Mukherjee
Committed by
Gerrit Code Review
Jun 09, 2015
Browse files
Merge "Prevent dividing by 0 when target-bitrate is 0."
parents
4a28da58
c23a9e21
Changes
1
Show whitespace changes
Inline
Side-by-side
rate_hist.c
View file @
2fd31bbb
...
...
@@ -88,6 +88,9 @@ void update_rate_histogram(struct rate_hist *hist,
if
(
now
<
cfg
->
rc_buf_initial_sz
)
return
;
if
(
!
cfg
->
rc_target_bitrate
)
return
;
then
=
now
;
/* Sum the size over the past rc_buf_sz ms */
...
...
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