mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/vf_colorbalance: fix off by one overflow
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
d1e1872418
commit
2017b4b1c2
@ -291,7 +291,7 @@ static int config_output(AVFilterLink *outlink)
|
||||
|
||||
shadows[i] = low;
|
||||
midtones[i] = mid;
|
||||
highlights[max - i] = low;
|
||||
highlights[max - i - 1] = low;
|
||||
}
|
||||
|
||||
for (i = 0; i < max; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user