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

Eyevinn / mp4ff / 34780822531
82%
master: 82%

Build:
Build:
LAST BUILD BRANCH: feat/rsot-box
DEFAULT BRANCH: master
Ran 13 Sep 2026 08:28PM UTC
Jobs 1
Files 213
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

13 Sep 2026 08:26PM UTC coverage: 82.104% (+0.01%) from 82.092%
34780822531

Pull #588

github

tobbee
refactor(mp4): let DecodeStyp delegate to DecodeStypSR

DecodeStyp built the box itself instead of delegating the way DecodeFtyp
does, so the short-payload guard added in #581 had to be written twice
for styp and once for ftyp. Delegating removes the duplicate guard and
brings styp to the same dual-path shape as ftyp.

The two had already drifted: DecodeStypSR measured the payload as
int(hdr.Size)-hdr.Hdrlen where ftyp used hdr.payloadLen(). They are
equal today, but only one of them stays correct if a box ever carries an
extended size. Unify on payloadLen.

This also removes an observable inconsistency. For a styp that declares
a short payload and is also truncated, the reader path reported the
short payload while ftyp on the same input reported the truncation.
Both now report the truncation, which is what actually went wrong.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #588: refactor(mp4): let DecodeStyp delegate to DecodeStypSR

3 of 3 new or added lines in 1 file covered. (100.0%)

22109 of 26928 relevant lines covered (82.1%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34780822531.1 13 Sep 2026 08:28PM UTC 213
82.1
GitHub Action Run
Source Files on build 34780822531
  • Tree
  • List 213
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #588
  • PR Base - master (#34780679823)
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