Removed incorrect usage of av_interleaved_write_frame (for the version of FFmpeg we use) for flushing frames. It seems like flush support was added later.