History

avfilter/vf_xfade: fix fadegrays for gbrp* formats

The array elements were left uninitialized.

Paul B Mahol committed 3 years ago

Commit 7428f1e1 parent 6284afe1 file · +1 −0Browse files

Unified · Split

libavfilter/vf_xfade.c+1−0
@@ -1406,6 +1406,7 @@ static void fadegrays##name##_transition(AVFilterContext *ctx, · 1405 unmodified lines
14061406 for (int x = 0; x < width; x++) { \
14071407 int bg[2][4]; \
14081408 if (is_rgb) { \
1409+ bg[0][0] = bg[1][0] = 0; \
14091410 for (int p = 0; p < s->nb_planes; p++) { \
14101411 const type *xf0 = (const type *)(a->data[p] + \
14111412 y * a->linesize[p]); \

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