Fix T77994: VSE crash adding a glow effect strip

Since rB47f98a38d0f8 not all 3 effect inputs were assigned anymore. Their
ImBuf's rect was accessed though in do_glow_effect (even though unused in
the following dedicated functions).

Just pass NULL here instead.

Reviewed By: ISS

Differential Revision: https://developer.blender.org/D8064
This commit is contained in:
Philipp Oeser 2020-06-20 06:42:31 +02:00 committed by Richard Antalik
parent 73ffb3e067
commit d994391e0c

@ -2810,7 +2810,7 @@ static ImBuf *do_glow_effect(const SeqRenderData *context,
context->rectx, context->rectx,
context->recty, context->recty,
ibuf1->rect_float, ibuf1->rect_float,
ibuf2->rect_float, NULL,
out->rect_float); out->rect_float);
} }
else { else {
@ -2821,7 +2821,7 @@ static ImBuf *do_glow_effect(const SeqRenderData *context,
context->rectx, context->rectx,
context->recty, context->recty,
(unsigned char *)ibuf1->rect, (unsigned char *)ibuf1->rect,
(unsigned char *)ibuf2->rect, NULL,
(unsigned char *)out->rect); (unsigned char *)out->rect);
} }