diff options
author | 2009-11-28 19:23:31 +0100 | |
---|---|---|
committer | 2009-11-28 19:23:31 +0100 | |
commit | 2b83812723ac235ff1ad53687c37c6e254eb541e (patch) | |
tree | a8e544a5ccab491ab8493cf19d27d7553168d5a1 /plugins/ffap/ffap.c | |
parent | 7ed73c5081dcd80e09e908f483c1a983e26db9d7 (diff) |
tested ape embedded cuesheets; disabled tracing in ape plugin
Diffstat (limited to 'plugins/ffap/ffap.c')
-rw-r--r-- | plugins/ffap/ffap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ffap/ffap.c b/plugins/ffap/ffap.c index fc6c7c92..8db1ad56 100644 --- a/plugins/ffap/ffap.c +++ b/plugins/ffap/ffap.c @@ -38,8 +38,8 @@ #define ENABLE_DEBUG 0 -#define trace(...) { fprintf(stderr, __VA_ARGS__); } -//#define trace(fmt,...) +//#define trace(...) { fprintf(stderr, __VA_ARGS__); } +#define trace(fmt,...) static DB_decoder_t plugin; static DB_functions_t *deadbeef; @@ -1645,7 +1645,7 @@ ffap_insert (DB_playItem_t *after, const char *fname) { } float duration = ape_ctx.totalsamples / (float)ape_ctx.samplerate; - DB_playItem_t *it; + DB_playItem_t *it = NULL; it = deadbeef->pl_insert_cue (after, fname, &plugin, "APE", ape_ctx.totalsamples, ape_ctx.samplerate); if (it) { deadbeef->fclose (fp); |