mirror of https://git.ffmpeg.org/ffmpeg.git
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++) { \
|
for (int x = 0; x < width; x++) { \
|
||||||
int bg[2][4]; \
|
int bg[2][4]; \
|
||||||
if (is_rgb) { \
|
if (is_rgb) { \
|
||||||
|
bg[0][0] = bg[1][0] = 0; \
|
||||||
for (int p = 0; p < s->nb_planes; p++) { \
|
for (int p = 0; p < s->nb_planes; p++) { \
|
||||||
const type *xf0 = (const type *)(a->data[p] + \
|
const type *xf0 = (const type *)(a->data[p] + \
|
||||||
y * a->linesize[p]); \
|
y * a->linesize[p]); \
|
||||||
|
|
Loading…
Reference in New Issue