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

Eyevinn / hi264 / 37926699395
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: ver-0-11-0
DEFAULT BRANCH: main
Ran 09 Oct 2026 11:55AM UTC
Jobs 1
Files 52
Run time 1min
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

09 Oct 2026 11:54AM UTC coverage: 88.091% (-0.1%) from 88.205%
37926699395

Pull #34

github

tobbee
fix: bound the coeff_abs_level_minus1 Exp-Golomb prefix

The Exp-Golomb suffix of coeff_abs_level_minus1 counted bypass bins until a 0 with no limit, the last CABAC syntax element loop without one after the bound on mb_qp_delta. It cannot spin forever, since bypass bins turn to 0 within a few steps once the data runs out, but a corrupt slice could keep it going for as long as it has bits.

Clause 8.5 keeps the scaled coefficients within -2^(7 + bitDepth)..2^(7 + bitDepth) - 1. Even the smallest scaling, an 8x8 block at qP 0 with a scaling list weight of 1 (18/64 per level), then keeps a level below 2^(9 + bitDepth), so a conforming prefix has at most 8 + bitDepth bins, 16 for 8-bit video. A longer prefix returns an error, which DecodeResidual and decodeResidualMB now pass up to the macroblock loop.

The bit-depth-dependent limits now live in internal/slice/limits.go as named constants and helpers, including the mb_qp_delta bound from the previous fix and the QPY wrap of equation 7-37 in both entropy coders, so they follow the bit depth if more than 8 bits are supported.
Pull Request #34: fix: report a CABAC slice that needs bits past the end of its data

56 of 74 new or added lines in 6 files covered. (75.68%)

5 existing lines in 1 file now uncovered.

8529 of 9682 relevant lines covered (88.09%)

1.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
79.82
-3.79% internal/slice/slicedata.go
2
96.8
-0.82% internal/slice/residual.go

Coverage Regressions

Lines Coverage ∆ File
5
79.82
-3.79% internal/slice/slicedata.go
Jobs
ID Job ID Ran Files Coverage
1 37926699395.1 09 Oct 2026 11:55AM UTC 52
88.09
GitHub Action Run
Source Files on build 37926699395
  • Tree
  • List 52
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #34
  • PR Base - main (#37786241622)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc