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

Eyevinn / mp4ff / 40512494709
85%

Build:
DEFAULT BRANCH: master
Ran 27 Oct 2026 01:30PM UTC
Jobs 1
Files 222
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

27 Oct 2026 01:29PM UTC coverage: 83.477% (+0.001%) from 83.476%
40512494709

push

github

tobbee
fix(mp4): decode udta boxes that end with the QuickTime user data terminator

The QuickTime File Format allows the list of user data atoms in a udta to end with a 32-bit integer set to 0, which readers should accept. Old QuickTime and Final Cut Pro files write it, often in an otherwise empty udta. mp4ff read those 4 bytes as the header of another child box and failed with "not enough bytes to read box header" or "Size 0, meaning to end of file", so such files did not decode at all.

The container child decoders get an optional trailing parameter that only udta uses: fewer bytes than a box header after the last child end the children and are returned. UdtaBox keeps them in the new TrailingBytes field, counts them in Size, writes them back after the children, and shows them in Info. Other containers decode as before.

Of 130 local .mov files, 99 now round-trip byte-exact with DecodeFile/Encode and DecodeFileSR/EncodeSW, against 93 before, and 21 fail to decode, against 31. The rest of the newly decoded files differ in QuickTime fields of mvhd and mdhd, or have a truncated mdat.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EagxH7QDzv1pCHvkd7Ynwv

34 of 38 new or added lines in 2 files covered. (89.47%)

24760 of 29661 relevant lines covered (83.48%)

0.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
82.84
-0.07% mp4/container.go
2
96.23
-3.77% mp4/udta.go
Jobs
ID Job ID Ran Files Coverage
1 40512494709.1 27 Oct 2026 01:30PM UTC 222
83.48
GitHub Action Run
Source Files on build 40512494709
  • Tree
  • List 222
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • be31d233 on github
  • Prev Build on master (#40510680311)
  • Next Build on master (#40514991315)
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