Skip to content

Commit 645cd0a

Browse files
committed
Formatted code and added additional unit test
1 parent 1225847 commit 645cd0a

File tree

2 files changed

+200
-171
lines changed

2 files changed

+200
-171
lines changed

‎libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/reader/RtpH265Reader.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,11 @@ private void processAggregationPacket(ParsableByteArray data) throws ParserExcep
220220
}
221221
if (data.bytesLeft() > 0) {
222222
throw ParserException.createForMalformedManifest(
223-
"Malformed Aggregation Packet. Packet size exceeds NAL unit size.",
224-
/* cause= */ null
225-
);
223+
"Malformed Aggregation Packet. Packet size exceeds NAL unit size.", /* cause= */ null);
226224
}
227225
if (nalUnitsCount < 2) {
228226
throw ParserException.createForMalformedManifest(
229-
"Aggregation Packet must contain at least 2 NAL units.",
230-
/* cause= */ null
231-
);
227+
"Aggregation Packet must contain at least 2 NAL units.", /* cause= */ null);
232228
}
233229
}
234230

0 commit comments

Comments
 (0)