FFMPEG Plugin: Implement flushing audio frames from decoder.

- Audio frames still contained in the video decoder are now flushed when there
  are no encoded data chunks left (signaled by B_LAST_BUFFER_ERROR).

- Refactor code to support flushing -and- keep the readability at a sane level.

- Add documentation for new methods accordingly.