使用std::vector 存储Frame :FrameIdToIndex std::vector<bool> buffer_; int DecodedFramesHistory::FrameIdToIndex(int64_t frame_id) const {