提交 728bb910 编写于 作者: M Michael Niedermayer

avfilter/vf_deshake: fix block_contrast() lower brightness value

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 2779b7b3
......@@ -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++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册