The array elements were left uninitialized.
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -1406,6 +1406,7 @@ static void fadegrays##name##_transition(AVFilterContext *ctx, · 1405 unmodified lines | |||
| 1406 | for (int x = 0; x < width; x++) { \ | 1406 | for (int x = 0; x < width; x++) { \ |
| 1407 | int bg[2][4]; \ | 1407 | int bg[2][4]; \ |
| 1408 | if (is_rgb) { \ | 1408 | if (is_rgb) { \ |
| 1409 | bg[0][0] = bg[1][0] = 0; \ | ||
| 1409 | for (int p = 0; p < s->nb_planes; p++) { \ | 1410 | for (int p = 0; p < s->nb_planes; p++) { \ |
| 1410 | const type *xf0 = (const type *)(a->data[p] + \ | 1411 | const type *xf0 = (const type *)(a->data[p] + \ |
| 1411 | y * a->linesize[p]); \ | 1412 | y * a->linesize[p]); \ |