Fixed a bug where oggstreams were not properly emptied.