[PR #1825] [MERGED] chore: Apply code formatting and update changelog #2572

Open
opened 2026-01-29 17:22:50 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1825
Author: @cfsmp3
Created: 12/14/2025
Status: Merged
Merged: 12/14/2025
Merged by: @cfsmp3

Base: masterHead: chore/formatting-and-changelog-update


📝 Commits (1)

  • bd2291a chore: Apply code formatting and update changelog

📊 Changes

53 files changed (+3884 additions, -3682 deletions)

View changed files

📝 docs/CHANGES.TXT (+24 -0)
📝 src/ccextractor.h (+3 -4)
📝 src/lib_ccx/activity.h (+10 -10)
📝 src/lib_ccx/asf_constants.h (+23 -21)
📝 src/lib_ccx/avc_functions.h (+1 -2)
📝 src/lib_ccx/cc_bitstream.h (+17 -18)
📝 src/lib_ccx/ccx_common_common.h (+30 -30)
📝 src/lib_ccx/ccx_common_constants.h (+104 -104)
📝 src/lib_ccx/ccx_common_option.h (+86 -86)
📝 src/lib_ccx/ccx_common_platform.h (+108 -109)
📝 src/lib_ccx/ccx_common_structs.h (+27 -25)
📝 src/lib_ccx/ccx_decoders_708.h (+99 -92)
📝 src/lib_ccx/ccx_decoders_common.h (+12 -12)
📝 src/lib_ccx/ccx_decoders_isdb.h (+0 -1)
📝 src/lib_ccx/ccx_decoders_structs.h (+40 -41)
📝 src/lib_ccx/ccx_decoders_vbi.h (+1 -2)
📝 src/lib_ccx/ccx_decoders_xds.h (+3 -3)
📝 src/lib_ccx/ccx_demuxer.h (+18 -20)
📝 src/lib_ccx/ccx_demuxer_mxf.h (+13 -13)
📝 src/lib_ccx/ccx_dtvcc.h (+1 -1)

...and 33 more files

📄 Description

Summary

  • Apply clang-format to all C/H source files
  • Apply cargo fmt to Rust code
  • Update Cargo.lock with latest compatible dependency versions
  • Add changelog entries for recent fixes and features

Changes

Code Formatting

  • 51 C/H files reformatted with clang-format
  • Rust code verified with cargo fmt

Cargo.lock Updates

  • Updated 14 packages to latest compatible versions
  • Removed 10 unused Windows dependencies
  • Key updates: clap, libc, syn, quote, log

CHANGES.TXT (24 new entries)

New Feature:

  • --ttxtforcelatin option to force Latin G0 charset in Teletext

Bug Fixes:

  • CEA-708 bounds checks and UTF-16BE encoding (Japanese/Chinese)
  • TS files without PAT/PMT fallback support
  • Timing accuracy improvements across MP4/MPEG/TS formats
  • Memory safety (null checks, buffer overruns, memory leaks)
  • Multi-file processing fixes
  • Various decoder improvements

Test plan

  • Build succeeds with ./linux/build
  • No new compiler errors introduced
  • Cargo fmt check passes

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/1825 **Author:** [@cfsmp3](https://github.com/cfsmp3) **Created:** 12/14/2025 **Status:** ✅ Merged **Merged:** 12/14/2025 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `chore/formatting-and-changelog-update` --- ### 📝 Commits (1) - [`bd2291a`](https://github.com/CCExtractor/ccextractor/commit/bd2291aab38e070c4c1a4e677ada9029aecaf64f) chore: Apply code formatting and update changelog ### 📊 Changes **53 files changed** (+3884 additions, -3682 deletions) <details> <summary>View changed files</summary> 📝 `docs/CHANGES.TXT` (+24 -0) 📝 `src/ccextractor.h` (+3 -4) 📝 `src/lib_ccx/activity.h` (+10 -10) 📝 `src/lib_ccx/asf_constants.h` (+23 -21) 📝 `src/lib_ccx/avc_functions.h` (+1 -2) 📝 `src/lib_ccx/cc_bitstream.h` (+17 -18) 📝 `src/lib_ccx/ccx_common_common.h` (+30 -30) 📝 `src/lib_ccx/ccx_common_constants.h` (+104 -104) 📝 `src/lib_ccx/ccx_common_option.h` (+86 -86) 📝 `src/lib_ccx/ccx_common_platform.h` (+108 -109) 📝 `src/lib_ccx/ccx_common_structs.h` (+27 -25) 📝 `src/lib_ccx/ccx_decoders_708.h` (+99 -92) 📝 `src/lib_ccx/ccx_decoders_common.h` (+12 -12) 📝 `src/lib_ccx/ccx_decoders_isdb.h` (+0 -1) 📝 `src/lib_ccx/ccx_decoders_structs.h` (+40 -41) 📝 `src/lib_ccx/ccx_decoders_vbi.h` (+1 -2) 📝 `src/lib_ccx/ccx_decoders_xds.h` (+3 -3) 📝 `src/lib_ccx/ccx_demuxer.h` (+18 -20) 📝 `src/lib_ccx/ccx_demuxer_mxf.h` (+13 -13) 📝 `src/lib_ccx/ccx_dtvcc.h` (+1 -1) _...and 33 more files_ </details> ### 📄 Description ## Summary - Apply clang-format to all C/H source files - Apply cargo fmt to Rust code - Update Cargo.lock with latest compatible dependency versions - Add changelog entries for recent fixes and features ## Changes ### Code Formatting - 51 C/H files reformatted with clang-format - Rust code verified with cargo fmt ### Cargo.lock Updates - Updated 14 packages to latest compatible versions - Removed 10 unused Windows dependencies - Key updates: clap, libc, syn, quote, log ### CHANGES.TXT (24 new entries) **New Feature:** - `--ttxtforcelatin` option to force Latin G0 charset in Teletext **Bug Fixes:** - CEA-708 bounds checks and UTF-16BE encoding (Japanese/Chinese) - TS files without PAT/PMT fallback support - Timing accuracy improvements across MP4/MPEG/TS formats - Memory safety (null checks, buffer overruns, memory leaks) - Multi-file processing fixes - Various decoder improvements ## Test plan - [x] Build succeeds with `./linux/build` - [x] No new compiler errors introduced - [x] Cargo fmt check passes 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:22:50 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2572