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

Eyevinn / mp4ff / 44081780078
85%

Build:
DEFAULT BRANCH: master
Ran 17 Nov 2026 12:18PM UTC
Jobs 1
Files 240
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

17 Nov 2026 12:17PM UTC coverage: 84.635% (+0.004%) from 84.631%
44081780078

push

github

tobbee
fix(mp4): read only up to the target on a forward BoxSeekReader seek

On a forward seek past the buffer, Seek read newPos - currentPos bytes,
but the underlying reader is at the end of the buffer. After a backward
seek inside the buffer, currentPos is before the buffer end, so Seek read
bufferEnd - currentPos bytes too many.

In StreamFile, processFragment then seeks to the mdat end and calls
ResetBuffer, which dropped those bytes of the next box. ProcessFragments
failed on the next box header, or with unexpected EOF after the last
fragment, when the fragment callback ended with a read that stopped before
the end of the data read so far, such as GetSampleRange(id, 1, 3) followed
by GetSample(id, 1).

Seek now reads newPos - bufferEnd bytes and sets currentPos from the end
of the buffer. The "not reachable" error is removed, since a target beyond
the buffer is always ahead of the underlying reader.

Fixes #723

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

10 of 11 new or added lines in 1 file covered. (90.91%)

1 existing line in 1 file now uncovered.

27613 of 32626 relevant lines covered (84.63%)

0.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
91.71
0.8% mp4/boxseekreader.go

Coverage Regressions

Lines Coverage ∆ File
1
91.71
0.8% mp4/boxseekreader.go
Jobs
ID Job ID Ran Files Coverage
1 44081780078.1 17 Nov 2026 12:18PM UTC 240
84.63
GitHub Action Run
Source Files on build 44081780078
  • Tree
  • List 240
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4afdcb7b on github
  • Prev Build on master (#44061198732)
  • Next Build on master (#44085561355)
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