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

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

Issue 1607173003: Fuzzer tests for AudioDecoder's DecodeRedundant and IncomingPacket (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fold normal and redundant fuzzer functions Created 4 years, 11 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_isacfix_fuzzer.cc
diff --git a/webrtc/test/fuzzers/audio_decoder_isacfix_fuzzer.cc b/webrtc/test/fuzzers/audio_decoder_isacfix_fuzzer.cc
index 83fb8c2d621cc78f78ce2e25d1b3769fb875cc7f..c930aa8fba10a7a4da70b977806e2093d3815ace 100644
--- a/webrtc/test/fuzzers/audio_decoder_isacfix_fuzzer.cc
+++ b/webrtc/test/fuzzers/audio_decoder_isacfix_fuzzer.cc
@@ -17,6 +17,7 @@ void FuzzOneInput(const uint8_t* data, size_t size) {
static const int kSampleRateHz = 16000;
static const size_t kAllocatedOuputSizeSamples = 16000 / 10; // 100 ms.
int16_t output[kAllocatedOuputSizeSamples];
- FuzzAudioDecoder(data, size, &dec, kSampleRateHz, sizeof(output), output);
+ FuzzAudioDecoder(DecoderFunctionType::kNormalDecode, data, size, &dec,
+ kSampleRateHz, sizeof(output), output);
}
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698