fix av_seek_frame_generic() so that it doesnt fail if the