AvInputAudio: flush decoder buffer at the end of the transcode process