mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
12 lines
385 B
Diff
12 lines
385 B
Diff
|
--- madplay-0.15.2b/audio_alsa.c.orig 2004-02-23 21:35:23.000000000 +0000
|
||
|
+++ madplay-0.15.2b/audio_alsa.c 2010-04-21 14:26:52.000000000 +0100
|
||
|
@@ -241,7 +241,7 @@ int config(struct audio_config *config)
|
||
|
return -1;
|
||
|
}
|
||
|
|
||
|
- buf = malloc(buffer_size);
|
||
|
+ buf = malloc(buffer_size*sample_size);
|
||
|
if (buf == NULL) {
|
||
|
audio_error="unable to allocate output buffer table";
|
||
|
return -1;
|