Skip to content

Fix track id comparison logic#60

Merged
peerless2012 merged 1 commit into
peerless2012:masterfrom
Mountains-0:master
Dec 22, 2025
Merged

Fix track id comparison logic#60
peerless2012 merged 1 commit into
peerless2012:masterfrom
Mountains-0:master

Conversation

@Mountains-0

Copy link
Copy Markdown
Contributor

AvailableTracks is a Map with non-deterministic iteration order. Using endsWith to compare track ids can cause false matches when ids share the same suffix (e.g. "11" matching "1", "12" matching "2").

@peerless2012
peerless2012 merged commit 570c973 into peerless2012:master Dec 22, 2025
thor2002ro pushed a commit to thor2002ro/libass-android that referenced this pull request Jul 24, 2026
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.

2 participants