diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-19 00:04:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-19 00:04:33 +0200 |
commit | cb3034e0d16e753b93dd1d879044399e45e82bf7 (patch) | |
tree | 816e433fb80c8fb1b4a43a0721a37cd046c7d4a5 | |
parent | e73cc2819e5e29718a956e1194c267be832d7db3 (diff) | |
download | ffmpeg-cb3034e0d16e753b93dd1d879044399e45e82bf7.tar.gz |
vf_unsharp: Fix false ‘src2’ may be used uninitialized in this function warning.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vf_unsharp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c index bd78ade39c..e6257e2cab 100644 --- a/libavfilter/vf_unsharp.c +++ b/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) |