Index: webrtc/test/fuzzers/vp8_qp_parser_fuzzer.cc |
diff --git a/webrtc/modules/audio_device/android/ensure_initialized.h b/webrtc/test/fuzzers/vp8_qp_parser_fuzzer.cc |
similarity index 73% |
copy from webrtc/modules/audio_device/android/ensure_initialized.h |
copy to webrtc/test/fuzzers/vp8_qp_parser_fuzzer.cc |
index c1997b4acdf1484a41bffef16f66809e49fa6e90..5135f1a471ebc088e307441d2f45355d0dee6c9b 100644 |
--- a/webrtc/modules/audio_device/android/ensure_initialized.h |
+++ b/webrtc/test/fuzzers/vp8_qp_parser_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/video_coding/utility/vp8_header_parser.h" |
namespace webrtc { |
-namespace audiodevicemodule { |
- |
-void EnsureInitialized(); |
- |
-} // namespace audiodevicemodule |
+void FuzzOneInput(const uint8_t* data, size_t size) { |
+ int qp; |
+ vp8::GetQp(data, size, &qp); |
+} |
} // namespace webrtc |