vo_gpu_next: Initialize `pl_frame_mix`

Without initializing, the random data causes the `pl_render_image_mix`
function to abort with a SIGSEGV.
This commit is contained in:
Starsam80 2021-11-08 16:37:26 -07:00 committed by Niklas Haas
parent 4470eaf5e5
commit 69527077c1
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {