mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_deshake: fix block_contrast() lower brightness value
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2779b7b30a
commit
728bb910ec
|
@ -197,7 +197,7 @@ static void find_block_motion(DeshakeContext *deshake, uint8_t *src1,
|
|||
static int block_contrast(uint8_t *src, int x, int y, int stride, int blocksize)
|
||||
{
|
||||
int highest = 0;
|
||||
int lowest = 0;
|
||||
int lowest = 255;
|
||||
int i, j, pos;
|
||||
|
||||
for (i = 0; i <= blocksize * 2; i++) {
|
||||
|
|
Loading…
Reference in New Issue