Files
ffmpeg/libavutil
Bogdan Lisman 213b6561ba avutil/eval: apply unary sign to print, squish, gauss and lerp
The leading sign of a (sub)expression is stored as +-1 in each node's
value field (parse_factor) and every other function multiplies its
result by it. print, squish, gauss and lerp ignored it, so e.g.
-print(1) evaluated to 1 instead of -1 and -gauss(0) to 0.398942
instead of -0.398942, while -1*print(1) was correct.

Fixes: ticket #9833
Reported-by: Player701
Signed-off-by: Bogdan Lisman <bogdan@pydevsolutions.com>
(cherry picked from commit 3d1d546f70)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-06-15 23:57:24 +02:00
..
2025-08-03 13:48:47 +02:00
2024-07-21 17:02:12 +02:00
2025-05-07 15:35:47 +02:00
2024-03-04 17:45:00 +01:00
2026-01-04 15:49:30 +01:00
2025-08-03 13:48:47 +02:00
2026-03-02 11:55:30 +01:00
2023-11-18 19:55:42 +01:00
2024-03-15 12:51:15 +01:00
2025-09-02 17:05:50 +02:00
2026-03-07 00:54:49 +00:00
2026-01-18 03:33:04 +00:00
2025-08-03 13:48:47 +02:00
2025-12-23 03:39:16 +00:00
2025-08-03 13:48:47 +02:00
2024-06-01 18:05:58 +03:00
2025-08-03 13:48:47 +02:00
2023-09-07 00:42:10 +02:00
2023-09-07 00:42:10 +02:00
2023-09-07 00:42:10 +02:00
2026-02-10 19:44:46 +01:00
2025-08-03 13:48:47 +02:00
2024-03-31 00:08:43 +01:00
2025-09-02 17:05:50 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2024-01-16 01:34:57 +01:00
2025-08-03 13:48:47 +02:00
2022-10-17 09:51:47 +02:00
2023-09-07 00:42:10 +02:00
2025-08-03 13:48:47 +02:00
2026-05-04 00:07:35 +02:00
2023-08-08 09:46:11 +02:00
2025-08-03 13:48:47 +02:00