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

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

Issue 1518973003: Add VP8 and H264 depacketizer fuzzers. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years 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
« no previous file with comments | « webrtc/test/fuzzers/BUILD.gn ('k') | webrtc/test/fuzzers/vp8_depacketizer_fuzzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/fuzzers/h264_depacketizer_fuzzer.cc
diff --git a/webrtc/test/fuzzers/vp9_depacketizer_fuzzer.cc b/webrtc/test/fuzzers/h264_depacketizer_fuzzer.cc
similarity index 86%
copy from webrtc/test/fuzzers/vp9_depacketizer_fuzzer.cc
copy to webrtc/test/fuzzers/h264_depacketizer_fuzzer.cc
index 02a7cc0f813be76e831375a1755451a3a9e63664..ca73d9495f5241c5ed0554d1823b79b8637e0f12 100644
--- a/webrtc/test/fuzzers/vp9_depacketizer_fuzzer.cc
+++ b/webrtc/test/fuzzers/h264_depacketizer_fuzzer.cc
@@ -7,11 +7,11 @@
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/modules/rtp_rtcp/source/rtp_format_vp9.h"
+#include "webrtc/modules/rtp_rtcp/source/rtp_format_h264.h"
namespace webrtc {
void FuzzOneInput(const uint8_t* data, size_t size) {
- RtpDepacketizerVp9 depacketizer;
+ RtpDepacketizerH264 depacketizer;
RtpDepacketizer::ParsedPayload parsed_payload;
depacketizer.Parse(&parsed_payload, data, size);
}
« no previous file with comments | « webrtc/test/fuzzers/BUILD.gn ('k') | webrtc/test/fuzzers/vp8_depacketizer_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698