From 69527077c1a8be7b6c8cb2f7fc31b690e7722bab Mon Sep 17 00:00:00 2001 From: Starsam80 Date: Mon, 8 Nov 2021 16:37:26 -0700 Subject: vo_gpu_next: Initialize `pl_frame_mix` Without initializing, the random data causes the `pl_render_image_mix` function to abort with a SIGSEGV. --- video/out/vo_gpu_next.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index c260af8865..4b3abf060e 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -679,7 +679,7 @@ static void draw_frame(struct vo *vo, struct vo_frame *frame) tbits->sample_depth = opts->dither_depth; } - struct pl_frame_mix mix; + struct pl_frame_mix mix = {0}; if (frame->current) { // Update queue state struct pl_queue_params qparams = { -- cgit v1.2.3