1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-19 09:57:34 +00:00

vo_gpu_next: fix typo in video_screenshot()

Undefined behavior (bad initializer). Somehow didn't trigger a warning
on my end...

Fixes: a8192eda6c
This commit is contained in:
Niklas Haas 2023-08-19 16:03:09 +02:00
parent a8192eda6c
commit 7ae4396ea5

View File

@ -1177,7 +1177,7 @@ static bool update_auto_profile(struct priv *p, int *events)
static void video_screenshot(struct vo *vo, struct voctrl_screenshot *args)
{
struct priv *p = vo->priv;
pl_options pars = pars;
pl_options pars = p->pars;
pl_gpu gpu = p->gpu;
pl_tex fbo = NULL;
args->res = NULL;