Browse Source

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>
tags/n4.4
Andreas Rheinhardt 4 years ago
parent
commit
2ae73b74bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_nnedi.c

+ 1
- 1
libavfilter/vf_nnedi.c View File

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


Loading…
Cancel
Save