aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-14 14:31:38 +0100
committerMax Kellermann <max@duempel.org>2009-03-14 14:31:38 +0100
commit0007d84d956b2a0623b234b23fd12878276e052b (patch)
treea7a5c3668b25ec128e0203f36223b36b3a575f9b /src
parentbd833f64e207565ce09ae3fa933da4a79d4f88ef (diff)
downloadmpd-0007d84d956b2a0623b234b23fd12878276e052b.tar.gz
mpd-0007d84d956b2a0623b234b23fd12878276e052b.tar.xz
mpd-0007d84d956b2a0623b234b23fd12878276e052b.zip
faad: faad_decoder_decode() returns NULL, not false
On failure, the function should return NULL, not a boolean.
Diffstat (limited to '')
-rw-r--r--src/decoder/faad_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/faad_plugin.c b/src/decoder/faad_plugin.c
index d5b98ada2..d0537dd5b 100644
--- a/src/decoder/faad_plugin.c
+++ b/src/decoder/faad_plugin.c
@@ -289,7 +289,7 @@ faad_decoder_decode(faacDecHandle decoder, struct decoder_buffer *buffer,
u.in = decoder_buffer_read(buffer, &length);
if (u.in == NULL)
- return false;
+ return NULL;
result = faacDecDecode(decoder, frame_info,
u.out