Commit cb3034e0 authored by Michael Niedermayer's avatar Michael Niedermayer

vf_unsharp: Fix false ‘src2’ may be used uninitialized in this function warning.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e73cc281
......@@ -73,7 +73,7 @@ static void apply_unsharp( uint8_t *dst, int dst_stride,
int32_t res;
int x, y, z;
const uint8_t *src2;
const uint8_t *src2 = NULL; //silence a warning
if (!fp->amount) {
if (dst_stride == src_stride)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment