summaryrefslogtreecommitdiff
path: root/src/load
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-09-07 11:23:34 -0500
committersanine <sanine.not@pm.me>2022-09-07 11:23:34 -0500
commita77b34a4ebdc994cce7a3d1f00121f421ca31b53 (patch)
tree19901965a6e2d0e0afe5f441306acb15cd38af95 /src/load
parent500dd00fb11efdd19aef924b0d8ff0b370c28d33 (diff)
update README and fix memory leaks
Diffstat (limited to 'src/load')
-rw-r--r--src/load/load-mp3.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/load/load-mp3.c b/src/load/load-mp3.c
index 09eef0c..d3e7598 100644
--- a/src/load/load-mp3.c
+++ b/src/load/load-mp3.c
@@ -22,17 +22,6 @@ struct mossrose_sound_t * load_mp3(const char *filename)
return NULL;
}
- printf("samples: %lu\n"
- "channels: %d\n"
- "hz: %d\n"
- "layer: %d\n"
- "bitrate: %d\n",
- mp3.samples,
- mp3.channels,
- mp3.hz,
- mp3.layer,
- mp3.avg_bitrate_kbps);
-
if (mp3.channels != 1 && mp3.channels != 2) {
ABORT("files with %d audio tracks are not supported!\n", mp3.channels);
}