mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #1819] [MERGED] style: use CCX_STREAM_TYPE_VIDEO_HEVC enum instead of raw 0x24 #2563
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/1819
Author: @cfsmp3
Created: 12/14/2025
Status: ✅ Merged
Merged: 12/14/2025
Merged by: @cfsmp3
Base:
master← Head:fix/hevc-enum-consistency📝 Commits (1)
866b897style: use CCX_STREAM_TYPE_VIDEO_HEVC enum instead of raw 0x24📊 Changes
1 file changed (+4 additions, -5 deletions)
View changed files
📝
src/lib_ccx/ts_tables.c(+4 -5)📄 Description
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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.