Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: webrtc/test/fuzzers/rtp_packet_fuzzer.cc

Issue 2224063004: Implement PlayoutDelay extension as a trait (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Avoid mutating output parameters when Parse returns false Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/test/fuzzers/rtp_packet_fuzzer.cc
diff --git a/webrtc/test/fuzzers/rtp_packet_fuzzer.cc b/webrtc/test/fuzzers/rtp_packet_fuzzer.cc
index 2a67a8bea73115fc97a97867394e4d906906d490..29c91657c79a7ae461410e95247c05812858745d 100644
--- a/webrtc/test/fuzzers/rtp_packet_fuzzer.cc
+++ b/webrtc/test/fuzzers/rtp_packet_fuzzer.cc
@@ -82,7 +82,9 @@ void FuzzOneInput(const uint8_t* data, size_t size) {
packet.GetExtension<TransportSequenceNumber>(&seqnum);
break;
case kRtpExtensionPlayoutDelay:
- // TODO(katrielc) Add this once it's written.
+ PlayoutDelay playout;
+ packet.GetExtension<PlayoutDelayLimits>(&playout.min_ms,
+ &playout.max_ms);
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698