Commit a92fb5e6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

vaapi: fix crash on error case

Regression from f0c3cef0

Close #19204

(cherry picked from commit 10a562ee)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 1c60a0f7
......@@ -305,7 +305,8 @@ Close(vlc_object_t *obj)
if (priv->last.pic != NULL)
vaegl_release_last_pic(tc, priv);
if (priv->vainst)
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