mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-18 03:52:46 +00:00
[PR #1819] style: use CCX_STREAM_TYPE_VIDEO_HEVC enum instead of raw 0x24 #2567
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?
Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1819
State: closed
Merged: Yes
Summary
Follow-up to PR #1769 - use the defined enum constant
CCX_STREAM_TYPE_VIDEO_HEVCinstead of the magic number0x24for better code maintainability and consistency.Changes
0x24withCCX_STREAM_TYPE_VIDEO_HEVCin PMT parsing conditionget_printable_stream_type()case statement by removing redundant assignment (the enum value passes through unchanged)Testing
Tested with ATSC 3.0 sample from issue #1639 - HEVC streams are still properly recognized.
🤖 Generated with Claude Code