Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUERipper: Fix incorrect TOC entry of first track #325

Conversation

c72578
Copy link
Collaborator

@c72578 c72578 commented May 19, 2024

In rare cases, the first track is reported to start at a frame lower
than 150. This leads to an incorrect TOC entry. In such cases, the
StartSector is assigned a wrong value of e.g. 16777141 (16777216 - 75).

In rare cases, the first track is reported to start at a frame lower
than 150. This leads to an incorrect TOC entry. In such cases, the
StartSector is assigned a wrong value of e.g. 16777141 (16777216 - 75).

- Set StartSector to 0 in cases,
  where a value larger than (16777216 - 150) is reported.
- Fixes gchudov#236
- See also:
  https://hydrogenaud.io/index.php/topic,125779.0.html
@c72578
Copy link
Collaborator Author

c72578 commented May 19, 2024

Here is a build for testing:

CUETools_2.2.5_2024-05-19_git_2987a5c_CUERipper_Fix_incorrect_TOC_entry_of_first_track.zip
SHA256: 30bc673e267b510f786926fe5cb209b5d54eeb3be23072a4fbad3b8cc8fff96e

@c72578 c72578 merged commit 2987a5c into gchudov:master May 30, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disc with bad TOC crashes CUERipper
1 participant