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

Eyevinn / mp4ff / 24051190512
83%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2026 09:05PM UTC
Jobs 1
Files 177
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 Apr 2026 09:04PM UTC coverage: 82.795% (+0.04%) from 82.754%
24051190512

push

github

tobbee
fix: improve senc parsing for separate init segments (#492)

Senc perSampleIVSize is now determined with correct priority:
1. seig sample group entry in traf
2. tenc defaultPerSampleIVSize from init segment
3. heuristic with saiz sample size validation

When moov is not available during decode (separate init segment),
the heuristic attempts parsing using saiz to validate candidates.
If an init segment is later provided via the new ParseSenc() methods,
the authoritative tenc value replaces any heuristic result.

Key changes:
- Add Fragment.ParseSenc() and MediaSegment.ParseSenc() for deferred
  senc parsing with a separate init segment
- Add saiz-based validation to reject invalid IV size candidates
- Track heuristic results via isParsedByGuess so they can be replaced
- DecodeSenc now delegates to DecodeSencSR removing duplication
- mp4ff-decrypt calls ParseSenc() when using a separate init file

79 of 102 new or added lines in 7 files covered. (77.45%)

18667 of 22546 relevant lines covered (82.8%)

0.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
95.47
-1.49% mp4/boxsr.go
5
77.73
-0.4% mp4/file.go
5
88.97
0.2% mp4/senc.go
2
86.96
6.06% cmd/mp4ff-decrypt/main.go
2
81.84
0.36% mp4/fragment.go
2
73.37
-0.08% mp4/mediasegment.go
1
89.73
0.01% mp4/traf.go
Jobs
ID Job ID Ran Files Coverage
1 24051190512.1 06 Apr 2026 09:05PM UTC 177
82.8
GitHub Action Run
Source Files on build 24051190512
  • Tree
  • List 177
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9ff6df1f on github
  • Prev Build on master (#24047821497)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc