From db91e6e374e7f96e2576d111ac6562493bd397a0 Mon Sep 17 00:00:00 2001 From: waker Date: Tue, 14 Aug 2012 18:20:03 +0200 Subject: alac: disabled tracing --- plugins/alac/alac_plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/alac') diff --git a/plugins/alac/alac_plugin.c b/plugins/alac/alac_plugin.c index dc303bc1..ebaf1467 100644 --- a/plugins/alac/alac_plugin.c +++ b/plugins/alac/alac_plugin.c @@ -39,8 +39,8 @@ #define min(x,y) ((x)<(y)?(x):(y)) #define max(x,y) ((x)>(y)?(x):(y)) -#define trace(...) { fprintf(stderr, __VA_ARGS__); } -//#define trace(fmt,...) +//#define trace(...) { fprintf(stderr, __VA_ARGS__); } +#define trace(fmt,...) static DB_decoder_t plugin; DB_functions_t *deadbeef; @@ -485,7 +485,7 @@ alacplug_insert (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname) { if (!qtmovie_read(stream, &demux_res)) { if (!demux_res.format_read || demux_res.format != MAKEFOURCC('a','l','a','c')) { - trace ("alac track not found in the file %s\n", fname); + trace ("alac track not found in the file %s, expected atom %X got %X\n", fname, MAKEFOURCC('a','l','a','c'), demux_res.format); goto error; } } -- cgit v1.2.3