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

Eyevinn / mp4ff / 37489528024
83%

Build:
DEFAULT BRANCH: master
Ran 06 Oct 2026 03:41PM UTC
Jobs 1
Files 219
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

06 Oct 2026 03:40PM UTC coverage: 82.741% (-0.01%) from 82.751%
37489528024

push

github

tobbee
fix(mp4): check in decodeBoxBodySR that every box decoder reads exactly its payload

A container steps to the next box where the previous decoder stopped. The previous commit checked that in the subs, mvhd and tkhd decoders only. On the SliceReader path, a header covering bytes after the fields was still accepted for other boxes, such as mdhd, tfdt, mfhd, trex, vmhd, smhd, mehd, pasp, btrt, prft, cslg and sidx, while the io.Reader path rejected them.

decodeBoxBodySR, which DecodeBoxSR, DecodeFileSR and FragmentDecoder use, now checks the reader error and the bytes read for every box except mdat, and replaces the per-box checkPayloadRead. mdat stays exempt so that a file cut short inside its mdat still decodes, for reading its init part; a new test covers that. The test table adds mdhd and tfdt cases. An interleaved benchmark comparison showed no change beyond noise, and allocations are unchanged. The CHANGELOG entry is shorter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

10 of 10 new or added lines in 4 files covered. (100.0%)

48 existing lines in 7 files now uncovered.

23845 of 28819 relevant lines covered (82.74%)

0.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
15
94.78
0.0% mp4/box.go
12
87.5
0.0% mp4/tkhd.go
11
83.91
0.0% mp4/subs.go
4
93.75
0.0% mp4/mvhd.go
2
93.77
-0.49% mp4/boxsr.go
2
90.68
-1.69% mp4/ctts.go
2
91.73
-0.5% mp4/trun.go
Jobs
ID Job ID Ran Files Coverage
1 37489528024.1 06 Oct 2026 03:41PM UTC 219
82.74
GitHub Action Run
Source Files on build 37489528024
  • Tree
  • List 219
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e70fa1c8 on github
  • Prev Build on master (#37485493385)
  • Next Build on master (#37599675986)
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