From 0007d84d956b2a0623b234b23fd12878276e052b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 14 Mar 2009 14:31:38 +0100 Subject: faad: faad_decoder_decode() returns NULL, not false On failure, the function should return NULL, not a boolean. --- src/decoder/faad_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder') 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 -- cgit v1.2.3