]> git.sesse.net Git - vlc/commitdiff
mux/mpeg/ts.c: correct typo
authorJean-Paul Saman <jpsaman@videolan.org>
Tue, 21 May 2013 08:08:57 +0000 (10:08 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Tue, 21 May 2013 08:12:21 +0000 (10:12 +0200)
Never do a last minute refactoring of common parts without a build test.
Fix a typo in dvbpsi_compat.h header and ts-muxer for the move to libdvbpsi >= 1.0.0.

modules/mux/mpeg/dvbpsi_compat.h
modules/mux/mpeg/ts.c

index 120605fc3ff2f210b66680ca05d13d40bf8fdfa1..6f68cfdd3ce292e80bff6189e34417495c75942c 100644 (file)
@@ -64,7 +64,7 @@
 /* NIT */
 # define dvbpsi_DeleteNIT(table)        dvbpsi_nit_delete((table))
 
-static void dvbpsi_message(dvbpsi_t *p_dvbpsi, const dvbpsi_msg_level_t level, const char* msg)
+static void dvbpsi_messages(dvbpsi_t *p_dvbpsi, const dvbpsi_msg_level_t level, const char* msg)
 {
     vlc_object_t *obj = (vlc_object_t *)p_dvbpsi->p_sys;
 
index 21cd336b5332330c410c9558e777c91dc79aae19..13edb25a4bea9c30f9abd57bc45851fa24a8d4bf 100644 (file)
@@ -523,7 +523,7 @@ static int Open( vlc_object_t *p_this )
     p_mux->p_sys        = p_sys;
 
 #if (DVBPSI_VERSION_INT >= DVBPSI_VERSION_WANTED(1,0,0))
-    p_sys->p_dvbpsi = dvbpsi_new( &dvbpsi_message, DVBPSI_MSG_DEBUG );
+    p_sys->p_dvbpsi = dvbpsi_new( &dvbpsi_messages, DVBPSI_MSG_DEBUG );
     if( !p_sys->p_dvbpsi )
     {
         free( p_sys );