Decoder sometimes needs more than just one free output frame for decoding

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>