提交 2779b7b3 编写于 作者: L Lenny Wang 提交者: Michael Niedermayer

avfilter/deshake

The old row index looks weird and wrong to me
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 abf2d53d
......@@ -202,7 +202,7 @@ static int block_contrast(uint8_t *src, int x, int y, int stride, int blocksize)
for (i = 0; i <= blocksize * 2; i++) {
// We use a width of 16 here to match the libavcodec sad functions
for (j = 0; i <= 15; i++) {
for (j = 0; j <= 15; j++) {
pos = (y - i) * stride + (x - j);
if (src[pos] < lowest)
lowest = src[pos];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册