faad: faad_decoder_decode() returns NULL, not false

On failure, the function should return NULL, not a boolean.
This commit is contained in:
Max Kellermann 2009-03-14 14:31:38 +01:00
parent bd833f64e2
commit 0007d84d95
1 changed files with 1 additions and 1 deletions

View File

@ -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