diff options
author | Max Kellermann <max@duempel.org> | 2009-01-03 14:52:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-03 14:52:13 +0100 |
commit | d342e338db085e8e8f6eded2aef48c7ca41239ae (patch) | |
tree | f5d4af05f24521bf72f8aad87e665c73e9e7c575 /src/pcm_channels.c | |
parent | 962f2407d2a3579b7125f937d93d04ccbeb9a453 (diff) | |
download | mpd-d342e338db085e8e8f6eded2aef48c7ca41239ae.tar.gz mpd-d342e338db085e8e8f6eded2aef48c7ca41239ae.tar.xz mpd-d342e338db085e8e8f6eded2aef48c7ca41239ae.zip |
pcm: use GLib instead of utils.h
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; |