History

avfilter/vf_nnedi: Fix use of uninitialized value

Fixes Coverity issue #1473546.

Andreas Rheinhardt committed 5 years ago

Commit 2ae73b71 parent 573f05a1 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_nnedi.c+1−1
@@ -903,7 +903,7 @@ static void subtract_mean_predictor(PredictorCoefficients *model) · 902 unmodified lines
903 903
904 double softmax_means[256]; // Average of individual softmax filters.904 double softmax_means[256]; // Average of individual softmax filters.
905 double elliott_means[256]; // Average of individual elliott filters.905 double elliott_means[256]; // Average of individual elliott filters.
906 double mean_filter[48 * 6]; // Pointwise average of all softmax filters.906 double mean_filter[48 * 6] = { 0 }; // Pointwise average of all softmax filters.
907 double mean_bias;907 double mean_bias;
908 908
909 // Quality 1.909 // Quality 1.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t