Index: webrtc/test/fuzzers/vp9_depacketizer_fuzzer.cc |
diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/audio_decoder_isacfix.cc b/webrtc/test/fuzzers/vp9_depacketizer_fuzzer.cc |
similarity index 64% |
copy from webrtc/modules/audio_coding/codecs/isac/fix/source/audio_decoder_isacfix.cc |
copy to webrtc/test/fuzzers/vp9_depacketizer_fuzzer.cc |
index 45eefb913b80ad4b87e83f7364e9e00baac450cb..02a7cc0f813be76e831375a1755451a3a9e63664 100644 |
--- a/webrtc/modules/audio_coding/codecs/isac/fix/source/audio_decoder_isacfix.cc |
+++ b/webrtc/test/fuzzers/vp9_depacketizer_fuzzer.cc |
@@ -7,14 +7,12 @@ |
* 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/audio_coding/codecs/isac/fix/include/audio_decoder_isacfix.h" |
- |
-#include "webrtc/modules/audio_coding/codecs/isac/audio_decoder_isac_t_impl.h" |
+#include "webrtc/modules/rtp_rtcp/source/rtp_format_vp9.h" |
namespace webrtc { |
- |
-// Explicit instantiation: |
-template class AudioDecoderIsacT<IsacFix>; |
- |
+void FuzzOneInput(const uint8_t* data, size_t size) { |
+ RtpDepacketizerVp9 depacketizer; |
+ RtpDepacketizer::ParsedPayload parsed_payload; |
+ depacketizer.Parse(&parsed_payload, data, size); |
+} |
} // namespace webrtc |