Fixes Coverity issue #1473546.
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -903,7 +903,7 @@ static void subtract_mean_predictor(PredictorCoefficients *model) · 902 unmodified lines | ||
| 903 | 903 | |
| 904 | 904 | double softmax_means[256]; // Average of individual softmax filters. |
| 905 | 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 | 907 | double mean_bias; |
| 908 | 908 | |
| 909 | 909 | // Quality 1. |