From ba8d6a2dbb802b215c1657c5b456cb8c65a18520 Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 27 Sep 2023 01:09:51 +0300 Subject: [PATCH] plugin_lib: fix a silly crash --- frontend/plugin_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index 8a6b6adb..917ae179 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -137,7 +137,7 @@ static __attribute__((noinline)) void draw_active_chans(int vout_w, int vout_h) unsigned short *d, p; int c, x, y; - if (dest == NULL || pl_vout_bpp != 16) + if (pl_vout_buf == NULL || pl_vout_bpp != 16) return; spu_get_debug_info(&live_chans, &run_chans, &fmod_chans, &noise_chans); -- 2.39.2