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

Eyevinn / mp4ff / 41606987007
85%

Build:
DEFAULT BRANCH: master
Ran 03 Nov 2026 08:56AM UTC
Jobs 1
Files 235
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

03 Nov 2026 08:56AM UTC coverage: 83.635% (+0.006%) from 83.629%
41606987007

push

github

tobbee
fix(avc): return the final parameter sets and isolate appends

avc.GetParameterSetsFromByteStream had the two bugs that #686 fixed for HEVC. The NAL unit still open when the data ended was never handled, so a stream that ended with an SPS or PPS and no video lost that set. The returned slices kept the spare capacity of the shared copy buffer, so appending to sps[0] overwrote the first bytes of the next set, e.g. turning the PPS 68 ce 22 into ff ce 22.

Use the same structure as hevc: one addParameterSet closure for both a detected start code and the end of the data, which skips non-parameter-set units before trimming, and full slice expressions that cap each returned set at its length. The scan also uses i < n-3, so a start code followed by one byte at the end is found, as in ExtractNalusOfTypeFromByteStream. An AVC NAL unit header is one byte, so no header-length check is needed.

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

Claude-Session: https://claude.ai/code/session_01EagxH8eFdCXEeeD3Pb6SyT

20 of 20 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

26161 of 31280 relevant lines covered (83.63%)

0.84 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
97.5
0.1% hevc/annexb.go
Jobs
ID Job ID Ran Files Coverage
1 41606987007.1 03 Nov 2026 08:56AM UTC 235
83.63
GitHub Action Run
Source Files on build 41606987007
  • Tree
  • List 235
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fbad4a47 on github
  • Prev Build on master (#41588319707)
  • Next Build on master (#41617824107)
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