diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-09 22:43:13 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-10 21:00:21 +0100 |
commit | 2ae73b74bbb41bf6a5fe4d2174eec29a68761166 (patch) | |
tree | 48c9a7f03bfec042ca92c44d08a72c051c67fd60 /libavfilter/vf_nnedi.c | |
parent | 573f05a7533cd9aed3ed895b4fa4ad8fcba4e56a (diff) | |
download | ffmpeg-2ae73b74bbb41bf6a5fe4d2174eec29a68761166.tar.gz |
avfilter/vf_nnedi: Fix use of uninitialized value
Fixes Coverity issue #1473546.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/vf_nnedi.c')
-rw-r--r-- | libavfilter/vf_nnedi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_nnedi.c b/libavfilter/vf_nnedi.c index 4229150668..b273c13944 100644 --- a/libavfilter/vf_nnedi.c +++ b/libavfilter/vf_nnedi.c @@ -903,7 +903,7 @@ static void subtract_mean_predictor(PredictorCoefficients *model) double softmax_means[256]; // Average of individual softmax filters. double elliott_means[256]; // Average of individual elliott filters. - double mean_filter[48 * 6]; // Pointwise average of all softmax filters. + double mean_filter[48 * 6] = { 0 }; // Pointwise average of all softmax filters. double mean_bias; // Quality 1. |