]> git.sesse.net Git - vlc/commitdiff
Shut down debug useless to most users and developers
authorRafaël Carré <funman@videolan.org>
Tue, 3 Jun 2008 14:02:11 +0000 (16:02 +0200)
committerRafaël Carré <funman@videolan.org>
Tue, 3 Jun 2008 14:49:20 +0000 (16:49 +0200)
modules/demux/asf/asf.c

index 49a365d26321120399b4ea26a97b82076c8b106f..b23c78a85f1d5820b70eaf4fbe1d7236006a5f1a 100644 (file)
@@ -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 )
         {