diff libmpdemux/asf_streaming.c @ 17932:3fe3b2b3a6ce

Convert all if(verbose>X) to mp_msg_test calls.
author diego
date Fri, 24 Mar 2006 08:12:03 +0000
parents 42843606bc06
children 4928dd61f136
line wrap: on
line diff
--- a/libmpdemux/asf_streaming.c	Fri Mar 24 02:31:29 2006 +0000
+++ b/libmpdemux/asf_streaming.c	Fri Mar 24 08:12:03 2006 +0000
@@ -31,7 +31,6 @@
 	((guid)[3] << 24 | (guid)[2] << 16 | (guid)[1] << 8 | (guid)[0])
 #endif
 
-extern int verbose;
 extern int network_bandwidth;
 
 int asf_mmst_streaming_start( stream_t *stream );
@@ -759,7 +758,7 @@
 			}
 			http_response_append( http_hdr, buffer, i );
 		} while( !http_is_header_entire( http_hdr ) );
-		if( verbose>0 ) {
+		if( mp_msg_test(MSGT_NETWORK,MSGL_V) ) {
 			http_hdr->buffer[http_hdr->buffer_size]='\0';
 			mp_msg(MSGT_NETWORK,MSGL_DBG2,"Response [%s]\n", http_hdr->buffer );
 		}