diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-07 22:04:36 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-07 22:05:14 +0200 |
commit | 728bb910ec04ef7138a4089ca72398270210e11f (patch) | |
tree | f2cb495c8a4e929a80b4a1710a748ee350bc0df0 /libavfilter | |
parent | 2779b7b30a0dcf4c53f98898da19d05425415b4d (diff) | |
download | ffmpeg-streaming-728bb910ec04ef7138a4089ca72398270210e11f.zip ffmpeg-streaming-728bb910ec04ef7138a4089ca72398270210e11f.tar.gz |
avfilter/vf_deshake: fix block_contrast() lower brightness value
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 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++) { |