Skip to content

Commit

Permalink
Clean up NOP constructor lines in RTP readers
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 465067191
  • Loading branch information
claincly authored and marcbaechinger committed Oct 19, 2022
1 parent 245326a commit 13e9ec9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public RtpMpeg4Reader(RtpPayloadFormat payloadFormat) {
this.payloadFormat = payloadFormat;
firstReceivedTimestamp = C.TIME_UNSET;
previousSequenceNumber = C.INDEX_UNSET;
sampleLength = 0;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ public RtpVp8Reader(RtpPayloadFormat payloadFormat) {
fragmentedSampleTimeUs = C.TIME_UNSET;
// The start time offset must be 0 until the first seek.
startTimeOffsetUs = 0;
gotFirstPacketOfVp8Frame = false;
isKeyFrame = false;
isOutputFormatSet = false;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ public RtpVp9Reader(RtpPayloadFormat payloadFormat) {
previousSequenceNumber = C.INDEX_UNSET;
width = C.LENGTH_UNSET;
height = C.LENGTH_UNSET;
// TODO(b/240318842) Clean up VP8/VP9 reader.
gotFirstPacketOfVp9Frame = false;
reportedOutputFormat = false;
isKeyFrame = false;
}

@Override
Expand Down

0 comments on commit 13e9ec9

Please sign in to comment.