[PR #1168] [CLOSED] [IMPROVEMENT] Clang format #1953

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

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1168
Author: @NilsIrl
Created: 1/1/2020
Status: Closed

Base: masterHead: clang-format


📝 Commits (2)

📊 Changes

114 files changed (+22424 additions, -17934 deletions)

View changed files

.clang-format (+6 -0)
📝 src/ccextractor.c (+492 -399)
📝 src/lib_ccx/activity.c (+59 -55)
📝 src/lib_ccx/activity.h (+10 -10)
📝 src/lib_ccx/asf_constants.h (+64 -42)
📝 src/lib_ccx/asf_functions.c (+803 -470)
📝 src/lib_ccx/avc_functions.c (+751 -531)
📝 src/lib_ccx/avc_functions.h (+6 -3)
📝 src/lib_ccx/bitstream.h (+19 -20)
📝 src/lib_ccx/cc_bitstream.c (+79 -77)
📝 src/lib_ccx/ccx_common_char_encoding.c (+783 -781)
📝 src/lib_ccx/ccx_common_common.c (+16 -17)
📝 src/lib_ccx/ccx_common_common.h (+29 -27)
📝 src/lib_ccx/ccx_common_constants.c (+156 -211)
📝 src/lib_ccx/ccx_common_constants.h (+112 -104)
📝 src/lib_ccx/ccx_common_option.c (+115 -84)
📝 src/lib_ccx/ccx_common_option.h (+135 -91)
📝 src/lib_ccx/ccx_common_platform.h (+105 -105)
📝 src/lib_ccx/ccx_common_structs.h (+44 -25)
📝 src/lib_ccx/ccx_common_timing.c (+146 -113)

...and 80 more files

📄 Description

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.

My familiarity with the project is as follows (check one):

  • I have used CCExtractor just a couple of times.

Defines a coding standard so that each pr doesn't change the formatting.

Also please give feedback on what rules to use. I just set the ones that I noticed followed the existing style.


🔄 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/1168 **Author:** [@NilsIrl](https://github.com/NilsIrl) **Created:** 1/1/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `clang-format` --- ### 📝 Commits (2) - [`951bb86`](https://github.com/CCExtractor/ccextractor/commit/951bb86d7fc561b07cc193e9284df0737ee3bacb) Add basic .clang-format - [`81170de`](https://github.com/CCExtractor/ccextractor/commit/81170debadb10e8b91239f7b48f346e48eb1bf67) clang-format files ### 📊 Changes **114 files changed** (+22424 additions, -17934 deletions) <details> <summary>View changed files</summary> ➕ `.clang-format` (+6 -0) 📝 `src/ccextractor.c` (+492 -399) 📝 `src/lib_ccx/activity.c` (+59 -55) 📝 `src/lib_ccx/activity.h` (+10 -10) 📝 `src/lib_ccx/asf_constants.h` (+64 -42) 📝 `src/lib_ccx/asf_functions.c` (+803 -470) 📝 `src/lib_ccx/avc_functions.c` (+751 -531) 📝 `src/lib_ccx/avc_functions.h` (+6 -3) 📝 `src/lib_ccx/bitstream.h` (+19 -20) 📝 `src/lib_ccx/cc_bitstream.c` (+79 -77) 📝 `src/lib_ccx/ccx_common_char_encoding.c` (+783 -781) 📝 `src/lib_ccx/ccx_common_common.c` (+16 -17) 📝 `src/lib_ccx/ccx_common_common.h` (+29 -27) 📝 `src/lib_ccx/ccx_common_constants.c` (+156 -211) 📝 `src/lib_ccx/ccx_common_constants.h` (+112 -104) 📝 `src/lib_ccx/ccx_common_option.c` (+115 -84) 📝 `src/lib_ccx/ccx_common_option.h` (+135 -91) 📝 `src/lib_ccx/ccx_common_platform.h` (+105 -105) 📝 `src/lib_ccx/ccx_common_structs.h` (+44 -25) 📝 `src/lib_ccx/ccx_common_timing.c` (+146 -113) _...and 80 more files_ </details> ### 📄 Description - [X] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md). - [X] I have checked that another pull request for this purpose does not exist. - [X] I have considered, and confirmed that this submission will be valuable to others. - [X] I accept that this submission may not be used, and the pull request closed at the will of the maintainer. - [X] I give this submission freely, and claim no ownership to its content. **My familiarity with the project is as follows (check one):** - [X] I have used CCExtractor just a couple of times. --- Defines a coding standard so that each pr doesn't change the formatting. Also please give feedback on what rules to use. I just set the ones that I noticed followed the existing style. --- <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:19:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#1953