[MPlayer-dev-eng] [PATCH] some small updates

Diego Biurrun diego at biurrun.de
Sun Apr 3 15:23:39 CEST 2005


On Sat, Mar 19, 2005 at 04:45:51AM +0000, adland wrote:
> I am enclosing a set of small possible updates in this PATCH
> please review
> libao2/ao_esd.c - replace printf with mp_msg 
> 
> --- main/libao2/ao_esd.c	2005-01-13 09:32:31.000000000 -0500
> +++ updated/libao2/ao_esd.c	2005-03-18 21:13:21.000000000 -0500
> @@ -41,7 +41,7 @@
> #undef	ESD_DEBUG
> 
> #if	ESD_DEBUG
> -#define	dprintf(...)	printf(__VA_ARGS__)
> +#define	dprintf(...)	mp_msg(MSGT_AO, MSGL_DBG2,__VA_ARGS__)

What is the advantage of this change?  Debug output does not get
translated anyway, so why use mp_msg?

Diego




More information about the MPlayer-dev-eng mailing list