[vlc-commits] dvbpsi: do not print a message if message type is DVBPSI_MSG_NONE

Rafaël Carré git at videolan.org
Tue Dec 3 10:42:20 CET 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Dec  3 10:29:30 2013 +0100| [453248ac0567047ca211d5ba2ab70e2a76f43af8] | committer: Rafaël Carré

dvbpsi: do not print a message if message type is DVBPSI_MSG_NONE

This value is documented as '/*!< No messages */'

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

 modules/mux/mpeg/dvbpsi_compat.h |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/mux/mpeg/dvbpsi_compat.h b/modules/mux/mpeg/dvbpsi_compat.h
index 6f68cfd..c4fae89 100644
--- a/modules/mux/mpeg/dvbpsi_compat.h
+++ b/modules/mux/mpeg/dvbpsi_compat.h
@@ -74,7 +74,6 @@ static void dvbpsi_messages(dvbpsi_t *p_dvbpsi, const dvbpsi_msg_level_t level,
         case DVBPSI_MSG_ERROR: msg_Err( obj, "%s", msg ); break;
         case DVBPSI_MSG_WARN:  msg_Warn( obj, "%s", msg ); break;
         case DVBPSI_MSG_DEBUG: msg_Dbg( obj, "%s", msg ); break;
-        default: msg_Info( obj, "%s", msg ); break;
     }
 }
 #endif



More information about the vlc-commits mailing list