Commit 41dc3d2b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

vout: fix use-after-free of SPU

Pointed-out-by: pribeiro's avatarPedro Ribeiro <>
parent 814d5303
......@@ -1024,7 +1024,10 @@ static int ThreadDisplayRenderPicture(vout_thread_t *vout, bool is_forced)
vout_display_Prepare(vd, sys->display.filtered, do_dr_spu ? subpic : NULL);
if (!do_dr_spu && subpic)
subpic = NULL;
if (!sys->display.filtered)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment