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

Eyevinn / mp4ff / 37909981006
83%

Build:
DEFAULT BRANCH: master
Ran 09 Oct 2026 09:14AM 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

09 Oct 2026 09:14AM UTC coverage: 82.76% (+0.02%) from 82.741%
37909981006

push

github

tobbee
fix(mp4): look up the stsc sample description ID by chunk

GetSampleDescriptionID takes a 1-based chunk number, as its name and doc say, but used it as an index into the per-entry SampleDescriptionID slice. For an stsc with several sample description IDs, it returned the ID of the entry with that number, and 0 for chunk numbers beyond the number of entries. It now finds the entry that the chunk belongs to, as GetChunk does: of entries sharing a firstChunk the last one applies, and the last entry covers all later chunks.

Info, which lists the entries, and the defragmenter, which walks them, read the ID per entry through the new unexported entrySampleDescriptionID.

When cropping an stsc with several IDs, mp4ff-crop truncated Entries twice where it meant to truncate SampleDescriptionID. The IDs of the dropped entries stayed, so an entry added for a partly kept chunk was encoded with the ID of the first dropped entry. When the crop ended in the last entry, the getter returned 0, AddEntry stored no ID, and encoding panicked with index out of range.

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

13 of 13 new or added lines in 3 files covered. (100.0%)

23854 of 28823 relevant lines covered (82.76%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37909981006.1 09 Oct 2026 09:14AM UTC 219
82.76
GitHub Action Run
Source Files on build 37909981006
  • Tree
  • List 219
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0b4b01be on github
  • Prev Build on master (#37907858147)
  • Next Build on master (#37912396622)
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