[FFmpeg-cvslog] fftools/textformat/avtextformat: Avoid relocations
Andreas Rheinhardt
git at videolan.org
Mon Jun 2 01:58:21 EEST 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Jun 1 03:33:00 2025 +0200| [b4c5397642416889872f4f2238941874f33ee0db] | committer: Andreas Rheinhardt
fftools/textformat/avtextformat: Avoid relocations
Reviewed-by: softworkz . <softworkz-at-hotmail.com at ffmpeg.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b4c5397642416889872f4f2238941874f33ee0db
---
fftools/textformat/avtextformat.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fftools/textformat/avtextformat.c b/fftools/textformat/avtextformat.c
index e8e43c3c37..0b61d353db 100644
--- a/fftools/textformat/avtextformat.c
+++ b/fftools/textformat/avtextformat.c
@@ -43,8 +43,8 @@
static const struct {
double bin_val;
double dec_val;
- const char *bin_str;
- const char *dec_str;
+ char bin_str[4];
+ char dec_str[4];
} si_prefixes[] = {
{ 1.0, 1.0, "", "" },
{ 1.024e3, 1e3, "Ki", "K" },
More information about the ffmpeg-cvslog
mailing list