[vlc-devel] commit: Shut down debug useless to most users and developers ( Rafaël Carré )

git version control git at videolan.org
Tue Jun 3 16:47:41 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Jun  3 16:02:11 2008 +0200| [b72ef60a0dc52ac7c1d8a455a3d6975b0f1b50d8]

Shut down debug useless to most users and developers

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

 modules/demux/asf/asf.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index 49a365d..b23c78a 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -629,13 +629,14 @@ static int DemuxPacket( demux_t *p_demux )
 
     if( i_packet_size_left > 0 )
     {
+#ifdef ASF_DEBUG
         if( i_packet_size_left > i_packet_padding_length )
             msg_Warn( p_demux, "Didn't read %d bytes in the packet",
                             i_packet_size_left - i_packet_padding_length );
         else if( i_packet_size_left < i_packet_padding_length )
             msg_Warn( p_demux, "Read %d too much bytes in the packet",
                             i_packet_padding_length - i_packet_size_left );
-
+#endif
         if( stream_Read( p_demux->s, NULL, i_packet_size_left )
                                                          < i_packet_size_left )
         {




More information about the vlc-devel mailing list