fmt_ctx is now set to the beginning of the file after playing or saving the last packet.