mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 21:42:09 +00:00
avfilter/vf_xfade: fix fadegrays for gbrp* formats
The array elements were left uninitialized.
This commit is contained in:
parent
6284afec07
commit
7428f1e8f2
@ -1406,6 +1406,7 @@ static void fadegrays##name##_transition(AVFilterContext *ctx,
|
||||
for (int x = 0; x < width; x++) { \
|
||||
int bg[2][4]; \
|
||||
if (is_rgb) { \
|
||||
bg[0][0] = bg[1][0] = 0; \
|
||||
for (int p = 0; p < s->nb_planes; p++) { \
|
||||
const type *xf0 = (const type *)(a->data[p] + \
|
||||
y * a->linesize[p]); \
|
||||
|
Loading…
Reference in New Issue
Block a user