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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/2/head
Michael Niedermayer 13 years ago
parent e73cc2819e
commit cb3034e0d1
  1. 2
      libavfilter/vf_unsharp.c

@ -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)

Loading…
Cancel
Save