Commit 0007d84d authored by Max Kellermann's avatar Max Kellermann

faad: faad_decoder_decode() returns NULL, not false

On failure, the function should return NULL, not a boolean.
parent bd833f64
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment