You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/vf_deshake: fix block_contrast() lower brightness value
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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)
|
static int block_contrast(uint8_t *src, int x, int y, int stride, int blocksize)
|
||||||
{
|
{
|
||||||
int highest = 0;
|
int highest = 0;
|
||||||
int lowest = 0;
|
int lowest = 255;
|
||||||
int i, j, pos;
|
int i, j, pos;
|
||||||
|
|
||||||
for (i = 0; i <= blocksize * 2; i++) {
|
for (i = 0; i <= blocksize * 2; i++) {
|
||||||
|
Reference in New Issue
Block a user