diff options
author | Ronald S. Bultje <[email protected]> | 2012-02-11 08:42:28 -0800 |
---|---|---|
committer | Reinhard Tartler <[email protected]> | 2012-02-26 10:03:15 +0100 |
commit | b68470707bf2e010136c6debd25051afdf198466 (patch) | |
tree | b8af9b7de64f806fcc4d587efbfc1091e9e2afdb /libavformat/concat.c | |
parent | 7046ae55932f8fae83269871847cea9fd84c23f5 (diff) |
swscale: enforce a minimum filtersize.
At very small dimensions, this calculation could lead to zero-sized
filters, which leads to uninitialized output, zero-sized allocations,
loop overflows in SIMD that uses do{..}while(i++<filtersize); instead
of for(i=0;i<filtersize;i++){..} and several other similar failures.
Therefore, require a minimum filtersize of 1.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: [email protected]
(cherry picked from commit dae2ce361a2b5fd9be1d43e5e8c00bdbc5f03e3d)
Signed-off-by: Anton Khirnov <[email protected]>
Diffstat (limited to 'libavformat/concat.c')
0 files changed, 0 insertions, 0 deletions