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

Eyevinn / mp4ff / 24048612261
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: issue-492
DEFAULT BRANCH: master
Ran 06 Apr 2026 08:02PM 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 08:01PM UTC coverage: 82.34% (-0.4%) from 82.754%
24048612261

Pull #494

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
Pull Request #494: fix: improve senc parsing for separate init segments

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

110 existing lines in 2 files now uncovered.

18655 of 22656 relevant lines covered (82.34%)

0.91 hits per line

New Missed Lines in Diff

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
72.13
-8.76% 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

Uncovered Existing Lines

Lines Coverage ∆ File
88
72.09
-9.76% mp4/crypto.go
22
72.13
-8.76% cmd/mp4ff-decrypt/main.go
Jobs
ID Job ID Ran Files Coverage
1 24048612261.1 06 Apr 2026 08:02PM UTC 177
82.34
GitHub Action Run
Source Files on build 24048612261
  • Tree
  • List 177
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #494
  • PR Base - 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