[vlc-commits] mux/mpeg/ts.c: correct typo

Jean-Paul Saman git at videolan.org
Tue May 21 10:19:48 CEST 2013


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Tue May 21 10:08:57 2013 +0200| [509e832b4d32731ae5b0431e1bdcc75b388794eb] | committer: Jean-Paul Saman

mux/mpeg/ts.c: correct typo

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.

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

 modules/mux/mpeg/dvbpsi_compat.h |    2 +-
 modules/mux/mpeg/ts.c            |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/mux/mpeg/dvbpsi_compat.h b/modules/mux/mpeg/dvbpsi_compat.h
index 120605f..6f68cfd 100644
--- a/modules/mux/mpeg/dvbpsi_compat.h
+++ b/modules/mux/mpeg/dvbpsi_compat.h
@@ -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;
 
diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
index 21cd336..13edb25 100644
--- a/modules/mux/mpeg/ts.c
+++ b/modules/mux/mpeg/ts.c
@@ -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 );



More information about the vlc-commits mailing list