[FFmpeg-cvslog] avfilter/vf_deshake: fix block_contrast() lower brightness value
Michael Niedermayer
git at videolan.org
Mon Oct 7 22:18:00 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 7 22:04:36 2013 +0200| [728bb910ec04ef7138a4089ca72398270210e11f] | committer: Michael Niedermayer
avfilter/vf_deshake: fix block_contrast() lower brightness value
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=728bb910ec04ef7138a4089ca72398270210e11f
---
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 3b43ae6..24ac41d 100644
--- a/libavfilter/vf_deshake.c
+++ b/libavfilter/vf_deshake.c
@@ -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++) {
More information about the ffmpeg-cvslog
mailing list