mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
avfilter/vf_unsharp_opencl: Use AV_VIDEO_MAX_PLANES
Related: CID1423281 Out-of-bounds read Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
e5c0f56ca0
commit
9229587c2d
@ -59,7 +59,7 @@ typedef struct UnsharpOpenCLContext {
|
||||
cl_int size_y;
|
||||
cl_float amount;
|
||||
cl_float threshold;
|
||||
} plane[4];
|
||||
} plane[AV_VIDEO_MAX_PLANES];
|
||||
} UnsharpOpenCLContext;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user