Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-08 00:04:36 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-10-08 00:05:14 +0400
commit728bb910ec04ef7138a4089ca72398270210e11f (patch)
treef2cb495c8a4e929a80b4a1710a748ee350bc0df0 /libavfilter/vf_deshake.c
parent2779b7b30a0dcf4c53f98898da19d05425415b4d (diff)
avfilter/vf_deshake: fix block_contrast() lower brightness value
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_deshake.c')
-rw-r--r--libavfilter/vf_deshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index 3b43ae6c1f..24ac41d783 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++) {