Remove unused variable from RtpVp9RefFinder

Bug: none
Change-Id: Iaa1f2f8272a7e47f50a3572efb2e0765286c8a0e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/253843
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36144}
This commit is contained in:
philipel
2022-03-07 15:33:19 +01:00
committed by WebRTC LUCI CQ
parent 13e42a88df
commit 11cc804d97
2 changed files with 0 additions and 7 deletions

View File

@ -53,9 +53,6 @@ RtpVp9RefFinder::FrameDecision RtpVp9RefFinder::ManageFrameInternal(
frame->SetSpatialIndex(codec_header.spatial_idx);
frame->SetId(codec_header.picture_id & (kFrameIdLength - 1));
if (last_picture_id_ == -1)
last_picture_id_ = frame->Id();
if (codec_header.flexible_mode) {
if (codec_header.num_ref_pics > EncodedFrame::kMaxFrameReferences) {
return kDrop;

View File

@ -60,10 +60,6 @@ class RtpVp9RefFinder {
void FlattenFrameIdAndRefs(RtpFrameObject* frame, bool inter_layer_predicted);
// Save the last picture id in order to detect when there is a gap in frames
// that have not yet been fully received.
int last_picture_id_ = -1;
// Frames that have been fully received but didn't have all the information
// needed to determine their references.
std::deque<std::unique_ptr<RtpFrameObject>> stashed_frames_;