[FFmpeg-cvslog] avfilter/deshake
Lenny Wang
git at videolan.org
Mon Oct 7 21:41:30 CEST 2013
ffmpeg | branch: master | Lenny Wang <lenny at multicorewareinc.com> | Mon Oct 7 12:44:34 2013 -0500| [2779b7b30a0dcf4c53f98898da19d05425415b4d] | committer: Michael Niedermayer
avfilter/deshake
The old row index looks weird and wrong to me
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2779b7b30a0dcf4c53f98898da19d05425415b4d
---
libavfilter/vf_deshake.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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];
More information about the ffmpeg-cvslog
mailing list