From 6798d2cfedbe767f052318955f80f857647d4817 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 24 Jun 2008 21:26:18 +0300 Subject: [PATCH] Fix vout_ReleaseWindow invocation --- src/video_output/vout_intf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c index 22241cf40b..71b45eec15 100644 --- a/src/video_output/vout_intf.c +++ b/src/video_output/vout_intf.c @@ -825,8 +825,7 @@ int vout_vaControlDefault( vout_thread_t *p_vout, int i_query, va_list args ) { case VOUT_REPARENT: case VOUT_CLOSE: - if( p_vout->p_window ) - vout_ReleaseWindow( p_vout->p_window, NULL ); + vout_ReleaseWindow( p_vout, NULL ); return VLC_SUCCESS; case VOUT_SNAPSHOT: -- 2.39.2