Commit 37203287 authored by Thomas Guillem's avatar Thomas Guillem

Revert "vaapi: fix crash on error case"

This case can't happen anymore.

This reverts commit 10a562ee.
parent 7c0a6a24
......@@ -305,8 +305,7 @@ Close(vlc_object_t *obj)
if (priv->last.pic != NULL)
vaegl_release_last_pic(tc, priv);
if (priv->vainst)
vlc_vaapi_ReleaseInstance(priv->vainst);
vlc_vaapi_ReleaseInstance(priv->vainst);
free(tc->priv);
}
......
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