• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xiph / rav1e / 4421
86%

Build:
DEFAULT BRANCH: master
Ran 03 Sep 2019 11:43PM UTC
Jobs 1
Files 51
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4421

push

travis-ci

Ivan Molodetskikh
Only cap overflow if it's actually a danger.

In the normal case (when we're not in danger of wasting bits
 because we have not used enough), soft_limit is negative.
As a result, log_soft_limit was being set to -1.
Normally this is fine, since we then compare it against
 (log_scale_pixels - log_q_exp), the log of the estimated number of
 bits that will be used, which is usually positive.
However, when the number of pixels is very small (e.g., for a 1x1
 video), it is possible for (log_scale_pixels - log_q_exp) to be
 negative, and we will try to enforce the limit anyway.
This results in very bad things (integer overflows) when we try.

This commit also corrects a parentheses error that was introduced
 when porting the original implementation to rav1e (the division by
 margin should happen before the multiply, which can also cause
 overflows).

13007 of 18428 relevant lines covered (70.58%)

0.71 hits per line

Jobs
ID Job ID Ran Files Coverage
2 4421.2 (CACHE_NAME=COVERALLS) 03 Sep 2019 11:43PM UTC 0
70.58
Travis Job 4421.2
Source Files on build 4421
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4421
  • 6b9f362f on github
  • Prev Build on master (#4418)
  • Next Build on master (#4422)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc