mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-24 15:09:55 +00:00
[PR #1133] [MERGED] [FIX] Compilation warnings #1907
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/1133
Author: @ghost
Created: 12/5/2019
Status: ✅ Merged
Merged: 12/9/2019
Merged by: @cfsmp3
Base:
master← Head:master📝 Commits (10+)
d212a84Add comments clarifying ccextractor.cnf and locale6adcddaComments on unobvious ctx entries709c046no_rollup explanation in ccx_s_optionsd520a0aUnified mprint format. Removed obvious comment.2c8aad4Commented out unused lines and corrected if-clausee2a11a5Changed unsigned char * to char *1edc1f3Returned to unsigned buffers58e1efdUnsigned buf converted to signedade128bCorrect some lines causing warnings5271702Added cases TODO. Some minor corrections.📊 Changes
14 files changed (+102 additions, -79 deletions)
View changed files
📝
docs/CHANGES.TXT(+5 -0)📝
src/ccextractor.c(+10 -6)📝
src/lib_ccx/ccx_common_option.c(+4 -1)📝
src/lib_ccx/ccx_common_option.h(+1 -1)📝
src/lib_ccx/ccx_decoders_708.c(+5 -4)📝
src/lib_ccx/ccx_decoders_isdb.c(+19 -8)📝
src/lib_ccx/ccx_decoders_xds.c(+5 -4)📝
src/lib_ccx/ccx_demuxer_mxf.c(+2 -2)📝
src/lib_ccx/ccx_encoders_common.c(+1 -1)📝
src/lib_ccx/ccx_encoders_helpers.c(+4 -0)📝
src/lib_ccx/ccx_encoders_mcc.c(+2 -1)📝
src/lib_ccx/ccx_encoders_smptett.c(+41 -47)📝
src/lib_ccx/params_dump.c(+2 -3)📝
src/zvbi/raw_decoder.c(+1 -1)📄 Description
Please prefix your pull request with one of the following: [FEATURE] [FIX] [IMPROVEMENT].
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
I've fixed compilation warnings (through 1% to 27%).
A big part of warnings are caused by (unsigned char *) being converted to other types.
Is there really such a need to have buffers unsigned?
Am I doing everything right or should I do it the other way? And how to resolve implicit type casting warnings with buffers?
P.s: Also added some comments.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.