-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ogg FLAC: handle granule pos -1 correctly; use 'samples'
A granule position of -1 on a page means that no packets finish on that page. If we encounter this value, tell the callback that the page contains 0 samples. Change the terminology to samples instead of frames, as the term 'frame' has another meaning in context of FLAC.
- Loading branch information
Showing
1 changed file
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters