mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Format changes
This commit is contained in:
parent
7dd428534e
commit
1ecb7c3fbf
@ -145,7 +145,6 @@ public final class RtpPacket {
|
||||
public static final int CSRC_SIZE = 4;
|
||||
public static final int EXTENSION_SIZE = 16;
|
||||
|
||||
|
||||
/** Returns the next sequence number of the {@code sequenceNumber}. */
|
||||
public static int getNextSequenceNumber(int sequenceNumber) {
|
||||
return IntMath.mod(sequenceNumber + 1, MAX_SEQUENCE_NUMBER + 1);
|
||||
@ -209,7 +208,6 @@ public final class RtpPacket {
|
||||
byte csrcCount = (byte) (firstByte & 0xF);
|
||||
boolean hasExtension = ((firstByte & 0x10) >> 4) == 1;
|
||||
|
||||
|
||||
if (version != RTP_VERSION) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user