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

Eyevinn / mp4ff / 41645639304
85%

Build:
DEFAULT BRANCH: master
Ran 03 Nov 2026 01:35PM UTC
Jobs 1
Files 237
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 01:35PM UTC coverage: 84.236% (+0.05%) from 84.189%
41645639304

push

github

tobbee
feat(aac): decode the AudioSpecificConfig of USAC (xHE-AAC)

DecodeAudioSpecificConfig accepts object type 42, USAC, read with the object type escape, and Encode writes the escape for object types of 32 and above.

The UsacConfig (ISO/IEC 23003-3:2022 Table 7) and everything after it are kept as a bit string in the new USACConfig, and Encode writes them back unchanged. The end of a UsacConfig is only known after decoding all of UsacDecoderConfig, and the Baseline USAC profile does not permit the extensionIdentifier signaling after it (ISO/IEC 14496-3:2019 Table 1.19, footnote a), so the rest of the config belongs with it.

The leading fields are decoded from that bit string: the sampling frequency from usacSamplingFrequencyIndex (Table 72, with USAC-only indices such as 57600 Hz and the 24-bit escape), coreSbrFrameLengthIndex with CoreCoderFrameLength and OutputFrameLength (Table 75), and channelConfigurationIndex with numOutChannels of UsacChannelConfig for index 0 (Table 8). USACConfig.NrChannels follows Table 73, whose indices 8 to 13 differ from the channelConfiguration of Table 1.23, and AudioSpecificConfig.NrChannels and CoreSamplesPerFrame use the UsacConfig for USAC.

All 10 distinct USAC configs in the FFmpeg FATE suite (11 files) decode and re-encode byte for byte, with the sampling frequency, channel count and frame length that ffprobe reports. Hand-built vectors cover the escaped frequencies, numOutChannels, the SBR frame lengths and the reserved values.

Closes #684

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EagxH7ENAVwUPJWTRiw1wQ

103 of 107 new or added lines in 2 files covered. (96.26%)

26857 of 31883 relevant lines covered (84.24%)

0.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
93.55
aac/usac.go
Jobs
ID Job ID Ran Files Coverage
1 41645639304.1 03 Nov 2026 01:35PM UTC 237
84.24
GitHub Action Run
Source Files on build 41645639304
  • Tree
  • List 237
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e7525f4a on github
  • Prev Build on master (#41642903435)
  • Next Build on master (#41669846235)
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