hevc: adding pointer to the current frame instead of using poc_idx