faad: faad_decoder_decode() returns NULL, not false
On failure, the function should return NULL, not a boolean.
This commit is contained in:
parent
bd833f64e2
commit
0007d84d95
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue