lavc/decode_video(): always unref the frame if there is no output in decode_video