mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
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:
parent
4470eaf5e5
commit
69527077c1
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user