Skip to content

Fix ass with null character before [Events] tag.#56

Merged
peerless2012 merged 1 commit into
masterfrom
fix_ass_null_character
Oct 22, 2025
Merged

Fix ass with null character before [Events] tag.#56
peerless2012 merged 1 commit into
masterfrom
fix_ass_null_character

Conversation

@peerless2012

Copy link
Copy Markdown
Owner

This should fix #55

As the broken ass header data in initializationData[1] will have a 0 in buffer end, we check the last byte and return [Events] append to the original header.

@peerless2012
peerless2012 merged commit 198733f into master Oct 22, 2025
@peerless2012
peerless2012 deleted the fix_ass_null_character branch October 22, 2025 03:11
thor2002ro pushed a commit to thor2002ro/libass-android that referenced this pull request Jul 24, 2026
…racter

Fix ass with null character before [Events] tag.
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.

Null Character in ASS subtitle Prevents Subtitles from Rendering

1 participant