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

Eyevinn / mp4ff / 24042885011
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: issue-492
DEFAULT BRANCH: master
Ran 06 Apr 2026 05:40PM 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 05:36PM UTC coverage: 82.71% (-0.04%) from 82.747%
24042885011

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

171 of 214 new or added lines in 10 files covered. (79.91%)

12 existing lines in 2 files now uncovered.

18580 of 22464 relevant lines covered (82.71%)

0.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
82.19
hevc/vps.go
8
87.19
-1.58% mp4/senc.go
6
95.47
-1.49% mp4/boxsr.go
5
77.73
-0.4% mp4/file.go
4
81.3
-0.18% mp4/fragment.go
2
79.65
-0.54% cmd/mp4ff-decrypt/main.go
2
69.87
-0.37% cmd/mp4ff-pslister/main.go
2
73.37
-0.08% mp4/mediasegment.go
1
89.73
0.01% mp4/traf.go

Coverage Regressions

Lines Coverage ∆ File
6
79.65
-0.54% cmd/mp4ff-decrypt/main.go
6
69.87
-0.37% cmd/mp4ff-pslister/main.go
Jobs
ID Job ID Ran Files Coverage
1 24042885011.1 06 Apr 2026 05:40PM UTC 177
82.71
GitHub Action Run
Source Files on build 24042885011
  • Tree
  • List 177
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #494
  • PR Base - master (#22229113946)
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