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

Eyevinn / mp4ff / 40013417880
85%

Build:
DEFAULT BRANCH: master
Ran 23 Oct 2026 07:42PM UTC
Jobs 1
Files 221
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

23 Oct 2026 07:41PM UTC coverage: 82.868% (+0.01%) from 82.855%
40013417880

push

github

tobbee
fix(mp4): return an error when decoding a traf without tfhd

A traf has exactly one tfhd (ISO/IEC 14496-12 8.8.7), and the code that reads decoded fragments takes traf.Tfhd as given: AppendFullSamples and GetFullSamples look the track up by it, and FragmentDecoder reads its track ID when parsing senc. A traf without tfhd decoded to a TrafBox with a nil Tfhd, which these then dereferenced.

DecodeTraf and DecodeTrafSR now build the TrafBox through setChildren, as FragmentDecoder's reusing decode already does, and setChildren returns an error when the children hold no tfhd, so all three decode paths refuse it.

TestRsotInTraf builds a traf for its encode-decode round trip, and now gives it a tfhd.

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

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

24088 of 29068 relevant lines covered (82.87%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40013417880.1 23 Oct 2026 07:42PM UTC 221
82.87
GitHub Action Run
Source Files on build 40013417880
  • Tree
  • List 221
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8a4be4dd on github
  • Prev Build on master (#39493767376)
  • Next Build on master (#40014457455)
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