diff options
Diffstat (limited to '')
-rw-r--r-- | src/pcm_channels.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pcm_channels.c b/src/pcm_channels.c index 327f46aac..13fe81cb4 100644 --- a/src/pcm_channels.c +++ b/src/pcm_channels.c @@ -17,7 +17,6 @@ */ #include "pcm_channels.h" -#include "utils.h" #include <glib.h> @@ -84,7 +83,7 @@ pcm_convert_channels_16(int8_t dest_channels, if (dest_size > len) { len = dest_size; - buf = xrealloc(buf, len); + buf = g_realloc(buf, len); } *dest_size_r = dest_size; @@ -163,7 +162,7 @@ pcm_convert_channels_24(int8_t dest_channels, if (dest_size > len) { len = dest_size; - buf = xrealloc(buf, len); + buf = g_realloc(buf, len); } *dest_size_r = dest_size; |