Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Vorbis Vorbis
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.OrgXiph.Org
  • VorbisVorbis
  • Issues
  • #724
Closed
Open
Issue created Oct 22, 2005 by mmiller@mmiller

ov_pcm_total() returns erroneous information

it appears that there is a bug in ov_pcm_total(). it returns the value in vf->pcmlengths[i2+1]. However, that value is too small - properly, I think it should return vf->pcmlengths[i2+1] + vf->pcmlengths[i*2]. Otherwise, the value returned will be too small by the pcm offset of the last packet in the first audio page (see line 381 of vorbisfile.c, where the value is stored). I can't see what it should do that; when it does, my vorbis-encoded audio gets truncated by that amount on decompression.

Assignee
Assign to
Time tracking