aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_convert.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-14 14:36:44 +0100
committerMax Kellermann <max@duempel.org>2009-03-14 14:36:44 +0100
commit8df0a29cbc7704da146dc53c34c8e29bf625f834 (patch)
tree7ef0a49f723aea3e3ab635562daea47641ad4f11 /src/pcm_convert.c
parente5767d6da8db78f622c77369de10cedd979abdbc (diff)
downloadmpd-8df0a29cbc7704da146dc53c34c8e29bf625f834.tar.gz
mpd-8df0a29cbc7704da146dc53c34c8e29bf625f834.tar.xz
mpd-8df0a29cbc7704da146dc53c34c8e29bf625f834.zip
pcm_convert: return NULL on failure
Changed "0" to "NULL".
Diffstat (limited to 'src/pcm_convert.c')
-rw-r--r--src/pcm_convert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_convert.c b/src/pcm_convert.c
index e8ca5a87f..ebb4adff5 100644
--- a/src/pcm_convert.c
+++ b/src/pcm_convert.c
@@ -186,6 +186,6 @@ pcm_convert(struct pcm_convert_state *state,
default:
g_error("cannot convert to %u bit\n", dest_format->bits);
- return 0;
+ return NULL;
}
}