Files
ffmpeg/libavfilter
Cosmin Stejerean 23afb77b8e avfilter/bwdif: account for chroma sub-sampling in min size calculation
The current logic for detecting frames that are too small for the
algorithm does not account for chroma sub-sampling, and so a sample
where the luma plane is large enough, but the chroma planes are not
will not be rejected. In that event, a heap overflow will occur.

This change adjusts the logic to consider the chroma planes and makes
the change to all three bwdif implementations.

Fixes #10688

Signed-off-by: Cosmin Stejerean <cosmin@cosmin.at>
Reviewed-by: Thomas Mundt <tmundt75@gmail.com>
Signed-off-by: Philip Langdale <philipl@overt.org>
(cherry picked from commit 737ede405b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2025-02-27 17:53:24 +01:00
..
2020-02-14 09:59:27 +01:00
2020-05-23 15:50:20 +02:00
2020-03-17 22:46:36 +01:00
2019-10-01 14:55:43 +02:00
2019-05-14 15:17:14 +02:00
2020-04-30 12:18:36 +02:00
2019-12-10 16:09:14 +01:00
2017-11-26 14:05:25 +01:00
2025-02-27 17:53:18 +01:00
2020-05-30 18:04:14 +02:00
2020-02-07 17:07:30 +01:00
2020-03-17 22:46:36 +01:00
2018-11-15 14:44:24 +01:00
2018-06-21 00:31:42 +01:00
2018-05-05 21:50:22 +02:00
2020-03-17 22:46:36 +01:00
2020-05-23 15:51:45 +02:00
2020-05-30 18:04:14 +02:00
2020-02-14 21:49:47 +01:00
2019-10-02 21:05:25 +02:00
2019-10-23 12:37:46 +02:00
2019-09-30 16:39:39 +02:00
2020-03-17 22:46:36 +01:00
2020-02-04 18:28:04 +01:00
2018-06-21 00:31:42 +01:00
2020-02-29 22:31:01 +01:00
2019-10-01 14:55:43 +02:00
2020-05-30 18:04:14 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2019-09-26 08:10:31 +08:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2019-04-20 00:20:07 +02:00
2020-03-17 22:46:36 +01:00
2020-03-24 15:04:52 +05:30
2024-07-22 10:47:16 +02:00
2019-10-18 21:57:20 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-02-04 18:28:04 +01:00
2019-10-20 18:06:26 +02:00
2020-04-18 12:34:49 +02:00
2019-09-25 21:48:59 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00