crash: avg_frame_rate, start_time always changes for video without audio

why?
api add: load(). load only once for replaying a seekable stream
add flush packet if reach the end

BUG: not eof got if replayed by seek(0)