[vlc-commits] goom: fix error path

Rémi Denis-Courmont git at videolan.org
Thu Apr 25 17:46:26 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Apr 25 18:45:41 2013 +0300| [122db89faf158fa4e0ad07117b25267a4ac8e0b5] | committer: Rémi Denis-Courmont

goom: fix error path

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=122db89faf158fa4e0ad07117b25267a4ac8e0b5
---

 modules/visualization/goom.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/visualization/goom.c b/modules/visualization/goom.c
index 18f8bac..b2496d3 100644
--- a/modules/visualization/goom.c
+++ b/modules/visualization/goom.c
@@ -160,9 +160,9 @@ static int Open( vlc_object_t *p_this )
                    Thread, p_thread, VLC_THREAD_PRIORITY_LOW ) )
     {
         msg_Err( p_filter, "cannot lauch goom thread" );
-        vlc_object_release( p_thread->p_vout );
         vlc_mutex_destroy( &p_thread->lock );
         vlc_cond_destroy( &p_thread->wait );
+        aout_filter_RequestVout( p_filter, p_thread->p_vout, NULL );
         free( p_thread );
         free( p_sys );
         return VLC_EGENERIC;



More information about the vlc-commits mailing list