# HG changeset patch # User aurel # Date 1190030497 0 # Node ID cb131102b256215f3d0534863f9a0756ab28be73 # Parent c226029c8df4dd05449e8693fd264763e9b607e7 disable loads of debug messages to reduce object size diff -r c226029c8df4 -r cb131102b256 ape.c --- a/ape.c Sun Sep 16 23:00:44 2007 +0000 +++ b/ape.c Mon Sep 17 12:01:37 2007 +0000 @@ -24,6 +24,8 @@ #include "avformat.h" +#define ENABLE_DEBUG 0 + /* The earliest and latest file formats supported by this library */ #define APE_MIN_VERSION 3970 #define APE_MAX_VERSION 3990 @@ -190,6 +192,7 @@ for (i=0; ititle); av_log(NULL, AV_LOG_DEBUG, "author = %s\n", s->author); @@ -199,6 +202,7 @@ av_log(NULL, AV_LOG_DEBUG, "year = %d\n", s->year); av_log(NULL, AV_LOG_DEBUG, "track = %d\n", s->track); av_log(NULL, AV_LOG_DEBUG, "genre = %s\n", s->genre); +#endif } static int ape_probe(AVProbeData * p) @@ -211,6 +215,7 @@ static void ape_dumpinfo(APEContext * ape_ctx) { +#if ENABLE_DEBUG int i; av_log(NULL, AV_LOG_DEBUG, "Descriptor Block:\n\n"); @@ -260,6 +265,7 @@ av_log(NULL, AV_LOG_DEBUG, "junklength = %d\n", ape_ctx->junklength); av_log(NULL, AV_LOG_DEBUG, "firstframe = %d\n", ape_ctx->firstframe); av_log(NULL, AV_LOG_DEBUG, "totalsamples = %d\n", ape_ctx->totalsamples); +#endif } static int ape_read_header(AVFormatContext * s, AVFormatParameters * ap)