[FFmpeg-cvslog] avcodec/mathtables: Fix inaccurate macro name

Andreas Rheinhardt git at videolan.org
Fri Mar 21 05:35:37 EET 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Mar 18 08:47:50 2025 +0100| [94fd222235a97766bd948375a08b176d955ed5a3] | committer: Andreas Rheinhardt

avcodec/mathtables: Fix inaccurate macro name

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=94fd222235a97766bd948375a08b176d955ed5a3
---

 libavcodec/mathtables.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/mathtables.c b/libavcodec/mathtables.c
index 8b0031eb00..3ebc146b06 100644
--- a/libavcodec/mathtables.c
+++ b/libavcodec/mathtables.c
@@ -72,10 +72,10 @@ const uint8_t ff_sqrt_tab[256]={
 };
 
 #define times4(x) x, x, x, x
-#define times256(x) times4(times4(times4(times4(times4(x)))))
+#define times1024(x) times4(times4(times4(times4(times4(x)))))
 
 const uint8_t ff_crop_tab[256 + 2 * MAX_NEG_CROP] = {
-times256(0x00),
+times1024(0x00),
 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
@@ -92,7 +92,7 @@ times256(0x00),
 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
-times256(0xFF)
+times1024(0xFF)
 };
 
 const uint8_t ff_zigzag_direct[64] = {



More information about the ffmpeg-cvslog mailing list