]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 20f142733a1bbb1a46c27c96706614d1efe9c775..c268255a7026df872a6e0d8c17b06b2bdee5ea96 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 3630075941a2fccd355037b3b28af8486f80be41..e2ed10cfabc094f1cd89a6f1ba152c38cc8e0ad6 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 3447f547856556b012585dd795baa5ef0d5aee6b..1df5fd6f68e2e17ce119324d24b371c0230005d8 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 1bb6ff86995c256c0f4230259dc0641a8899bd91..ba3cc0d121feafdb33b557bd13e527131e4a99ba 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],