Fixes Coverity issue #1473546.
Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavfilter/vf_nnedi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.
--
2.27.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".