comment out some noisy debug messages
authorAndre Noll <maan@systemlinux.org>
Sun, 11 Mar 2007 19:14:18 +0000 (20:14 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 11 Mar 2007 19:14:18 +0000 (20:14 +0100)
aac_afh.c
mp3_afh.c
ogg_afh.c
vss.c

index 20f1427..c268255 100644 (file)
--- 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;
 }
index 3630075..e2ed10c 100644 (file)
--- 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;
index 3447f54..1df5fd6 100644 (file)
--- 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 1bb6ff8..ba3cc0d 100644 (file)
--- 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],