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

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

Issue 2020353003: AudioDecoderIsacT: Require caller to always specify sample rate (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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/audio_decoder_isac_incoming_packet_fuzzer.cc
diff --git a/webrtc/test/fuzzers/audio_decoder_isac_incoming_packet_fuzzer.cc b/webrtc/test/fuzzers/audio_decoder_isac_incoming_packet_fuzzer.cc
index 7a239f03610ec27ffc8ba29c8dcb1b08cc3b3ada..9e490d3d4ad968a5fa0e81305bdd958e79e21d18 100644
--- a/webrtc/test/fuzzers/audio_decoder_isac_incoming_packet_fuzzer.cc
+++ b/webrtc/test/fuzzers/audio_decoder_isac_incoming_packet_fuzzer.cc
@@ -13,7 +13,7 @@
namespace webrtc {
void FuzzOneInput(const uint8_t* data, size_t size) {
- AudioDecoderIsac dec(nullptr);
+ AudioDecoderIsac dec(16000);
FuzzAudioDecoderIncomingPacket(data, size, &dec);
}
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698