mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
[PR #2050] Fix/dtvcc allocation panic #2859
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/2050
Author: @pranavshar223
Created: 1/21/2026
Status: 🔄 Open
Base:
master← Head:fix/dtvcc-allocation-panic📝 Commits (4)
5f4373bdocs/debug: add verbose log when user data is skipped2469b29retry the teste5ffd30restore all changes9b1126bremoves panics from the CEA-708 decode📊 Changes
3 files changed (+932 additions, -887 deletions)
View changed files
📝
linux/pre-build.sh(+34 -34)📝
src/rust/src/decoder/mod.rs(+863 -848)📝
src/rust/src/es/userdata.rs(+35 -5)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
This PR removes panics from the CEA-708 decoder initialization path.
Previously, allocation failures for dtvcc_tv_screen or
dtvcc_service_decoder would cause a hard panic, crashing CCExtractor.
Instead, allocation failures are now handled gracefully by logging
a debug message and disabling the affected service decoder while
allowing processing to continue.
This improves robustness and aligns Rust behavior with the legacy C
implementation.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.