summaryrefslogtreecommitdiff
path: root/plugins/mpgmad
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mpgmad')
-rw-r--r--plugins/mpgmad/mpgmad.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c
index ddc67a7b..3888eea0 100644
--- a/plugins/mpgmad/mpgmad.c
+++ b/plugins/mpgmad/mpgmad.c
@@ -575,7 +575,6 @@ cmp3_scan_stream (buffer_t *buffer, int sample) {
}
if (sample == 0) {
- trace ("parsing 1st 3000 frames\n");
if (fsize <= 0) {
trace ("cmp3_scan_stream: negative file size\n");
return -1;
@@ -585,7 +584,7 @@ cmp3_scan_stream (buffer_t *buffer, int sample) {
buffer->avg_samplerate += samplerate;
buffer->avg_samples_per_frame += samples_per_frame;
avg_bitrate += bitrate;
- if (nframe >= 3000) {
+ if (nframe >= 100) {
goto end_scan;
}
}