Files
FFmpeg/libavfilter
Cosmin Stejerean 8e6c82cefb 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-08-04 16:35:57 +02:00
..
…
2022-07-07 17:52:32 +02:00
2025-08-04 16:35:49 +02:00
…
…
…
…
…
…
…
2022-02-20 12:38:52 +01:00
…
…
…
2022-07-10 17:20:15 +02:00
…
…
2022-02-09 09:40:33 +01:00
2022-02-07 00:31:23 +01:00
…
…
2022-03-16 14:05:26 +02:00
2022-07-13 00:27:37 +02:00
…
2022-04-23 10:58:29 +02:00
2024-07-22 10:47:13 +02:00
…
…