Commit b72ef60a authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Shut down debug useless to most users and developers

parent 425e7f20
...@@ -629,13 +629,14 @@ static int DemuxPacket( demux_t *p_demux ) ...@@ -629,13 +629,14 @@ static int DemuxPacket( demux_t *p_demux )
if( i_packet_size_left > 0 ) if( i_packet_size_left > 0 )
{ {
#ifdef ASF_DEBUG
if( i_packet_size_left > i_packet_padding_length ) if( i_packet_size_left > i_packet_padding_length )
msg_Warn( p_demux, "Didn't read %d bytes in the packet", msg_Warn( p_demux, "Didn't read %d bytes in the packet",
i_packet_size_left - i_packet_padding_length ); i_packet_size_left - i_packet_padding_length );
else if( 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", msg_Warn( p_demux, "Read %d too much bytes in the packet",
i_packet_padding_length - i_packet_size_left ); i_packet_padding_length - i_packet_size_left );
#endif
if( stream_Read( p_demux->s, NULL, i_packet_size_left ) if( stream_Read( p_demux->s, NULL, i_packet_size_left )
< i_packet_size_left ) < i_packet_size_left )
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment