diff options
author | Lenny Wang <lenny@multicorewareinc.com> | 2013-10-07 12:44:34 -0500 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-07 21:39:16 +0200 |
commit | 2779b7b30a0dcf4c53f98898da19d05425415b4d (patch) | |
tree | 13b4e1eb294f6d79e5700b83bd525ed1c97d7917 /libavfilter | |
parent | abf2d53d807c93638ee69deda9bf885164e23502 (diff) | |
download | ffmpeg-streaming-2779b7b30a0dcf4c53f98898da19d05425415b4d.zip ffmpeg-streaming-2779b7b30a0dcf4c53f98898da19d05425415b4d.tar.gz |
avfilter/deshake
The old row index looks weird and wrong to me
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_deshake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c index 4729c7e..3b43ae6 100644 --- a/libavfilter/vf_deshake.c +++ b/libavfilter/vf_deshake.c @@ -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]; |