mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #1512] [CLOSED] [FIX] ccx_encoders_smptett.c: split float into ints for sprintf #2238
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/1512
Author: @marcybelardo
Created: 3/22/2023
Status: ❌ Closed
Base:
master← Head:sprintf-enforce-int📝 Commits (10+)
a0000f6ccx_encoders_smptett.c: Enforce int for sprintfb2e309aAdded entry to changelog3d3e365Changed spaces to tabs, following formatting1a5b5e1Ran clang-formatb2f2f85Remove decimal places from tts:origin formattingab17d08Formatted whitespace5eae936Too many parentheses around the round functions2addaf5Retain precision with changed sprintfcc051ccSplit float to avoid locale issues with sprintf3bcd7abRestore decimal precision to 3 digits📊 Changes
2 files changed (+17 additions, -1 deletions)
View changed files
📝
docs/CHANGES.TXT(+1 -0)📝
src/lib_ccx/ccx_encoders_smptett.c(+16 -1)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
For issue #1483, refactors formatting of
col1androw1variables to avoid issues withLC_NUMERICauto-formatting float values.Decided to use
%03uto keep precision at 3 digits, used%03uover%.3ufor better code readability in the format string.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.