Browse Source

avfilter/vf_deshake: fix block_contrast() lower brightness value

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
728bb910ec
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_deshake.c

+ 1
- 1
libavfilter/vf_deshake.c View File

@@ -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…
Cancel
Save