[vlc-commits] Revert "vaapi: fix crash on error case"
Thomas Guillem
git at videolan.org
Mon Dec 4 09:27:39 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Dec 4 09:23:04 2017 +0100| [37203287ee2b3c6865ce91ad4cc389562662e5d5] | committer: Thomas Guillem
Revert "vaapi: fix crash on error case"
This case can't happen anymore.
This reverts commit 10a562ee149e199529f917e53da9c4fc902cf629.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=37203287ee2b3c6865ce91ad4cc389562662e5d5
---
modules/video_output/opengl/converter_vaapi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/video_output/opengl/converter_vaapi.c b/modules/video_output/opengl/converter_vaapi.c
index fe6a578ed3..4e83ab09c5 100644
--- a/modules/video_output/opengl/converter_vaapi.c
+++ b/modules/video_output/opengl/converter_vaapi.c
@@ -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);
}
More information about the vlc-commits
mailing list