[vlc-commits] Jack: do not use deprecated functions

Jean-Baptiste Kempf git at videolan.org
Tue Feb 8 00:31:17 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb  8 00:30:32 2011 +0100| [83c7434fd4504b7b6cba9997c0ce39537134acb6] | committer: Jean-Baptiste Kempf

Jack: do not use deprecated functions

Especially, when it is deprecated since a very long time.

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

 modules/access/jack.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/jack.c b/modules/access/jack.c
index cc7efa8..ed026e0 100644
--- a/modules/access/jack.c
+++ b/modules/access/jack.c
@@ -157,7 +157,7 @@ static int Open( vlc_object_t *p_this )
     /* define name and connect to jack server */
     char p_vlc_client_name[32];
     sprintf( p_vlc_client_name, "vlc-input-%d", getpid() );
-    p_sys->p_jack_client = jack_client_new( p_vlc_client_name );
+    p_sys->p_jack_client = jack_client_open( p_vlc_client_name, JackNullOption, NULL );
     if( p_sys->p_jack_client == NULL )
     {
         msg_Err( p_demux, "failed to connect to JACK server" );



More information about the vlc-commits mailing list