From: Andre Noll Date: Sun, 11 Mar 2007 19:14:18 +0000 (+0100) Subject: comment out some noisy debug messages X-Git-Tag: v0.2.16~27 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=70fd254ad455c84bec186ff6f7291b1405eed267 comment out some noisy debug messages --- diff --git a/aac_afh.c b/aac_afh.c index 20f14273..c268255a 100644 --- a/aac_afh.c +++ b/aac_afh.c @@ -92,8 +92,8 @@ static int read_chunk_table(FILE *file, struct audio_format_info *afi, sum += aac_read_int32(inbuf + skip); afi->chunk_table[i] = sum; skip += 4; - if (i < 10 || i + 10 > afi->chunks_total) - PARA_DEBUG_LOG("offset #%d: %zu\n", i, afi->chunk_table[i]); +// if (i < 10 || i + 10 > afi->chunks_total) +// PARA_DEBUG_LOG("offset #%d: %zu\n", i, afi->chunk_table[i]); } return 1; } diff --git a/mp3_afh.c b/mp3_afh.c index 36300759..e2ed10cf 100644 --- a/mp3_afh.c +++ b/mp3_afh.c @@ -389,9 +389,9 @@ static int mp3_read_info(FILE *file, struct audio_format_info *afi) chunk_table_size * sizeof(size_t)); } afi->chunk_table[afi->chunks_total] = ftell(file); - if (afi->chunks_total < 10 || !(afi->chunks_total % 1000)) - PARA_INFO_LOG("chunk #%lu: %zd\n", afi->chunks_total, - afi->chunk_table[afi->chunks_total]); +// if (afi->chunks_total < 10 || !(afi->chunks_total % 1000)) +// PARA_INFO_LOG("chunk #%lu: %zd\n", afi->chunks_total, +// afi->chunk_table[afi->chunks_total]); afi->chunks_total++; if (afi->chunks_total == 1) { freq_avg = freq; diff --git a/ogg_afh.c b/ogg_afh.c index 3447f547..1df5fd6f 100644 --- a/ogg_afh.c +++ b/ogg_afh.c @@ -199,10 +199,10 @@ static long unsigned ogg_compute_chunk_table(OggVorbis_File *of, max_chunk_len = PARA_MAX(max_chunk_len, diff); min = (i == 1)? diff : PARA_MIN(min, diff); afi->chunk_table[i] = pos; - if (i < 11 || !((i - 1) % 1000)|| i > num - 11) - PARA_DEBUG_LOG("chunk #%d: %g secs, pos: %zd, " - "size: %zd\n", i - 1, - i * chunk_time, pos, pos - old_pos); +// if (i < 11 || !((i - 1) % 1000)|| i > num - 11) +// PARA_DEBUG_LOG("chunk #%d: %g secs, pos: %zd, " +// "size: %zd\n", i - 1, +// i * chunk_time, pos, pos - old_pos); old_pos = pos; } num_chunks = i - 1; diff --git a/vss.c b/vss.c index 1bb6ff86..ba3cc0d1 100644 --- a/vss.c +++ b/vss.c @@ -381,7 +381,6 @@ static void vss_eof(struct audio_format_handler *af) mmd->afi.seconds_total = 0; free(mmd->afi.chunk_table); mmd->afi.chunk_table = NULL; - PARA_ERROR_LOG("freeing header %p\n", mmd->afi.header); free(mmd->afi.header); mmd->afi.header = NULL; tmp = make_message("%s:\n%s:\n%s:\n", status_item_list[SI_AUDIO_INFO1],