ffmpeg/libavfilter
Cosmin Stejerean 737ede405b 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>
2023-12-07 10:00:12 +08:00
..
2023-11-18 19:55:42 +01:00
2023-11-18 19:55:42 +01:00
2023-11-16 20:53:18 +02:00
2023-09-28 00:17:47 +02:00
2023-11-16 20:53:18 +02:00
2023-11-18 19:55:42 +01:00
2023-11-22 19:28:40 +01:00
2022-07-30 11:42:06 +02:00
2022-07-30 11:42:06 +02:00
2023-11-30 11:08:34 +01:00
2023-11-18 19:55:42 +01:00
2023-11-18 19:55:42 +01:00