Index: webrtc/test/fuzzers/audio_decoder_opus_redundant_fuzzer.cc |
diff --git a/webrtc/test/fuzzers/audio_decoder_opus_fuzzer.cc b/webrtc/test/fuzzers/audio_decoder_opus_redundant_fuzzer.cc |
similarity index 80% |
copy from webrtc/test/fuzzers/audio_decoder_opus_fuzzer.cc |
copy to webrtc/test/fuzzers/audio_decoder_opus_redundant_fuzzer.cc |
index 3d70ec507dfe5606120f6eb88d400e727d369ac9..48b8b25da33ddfe401977809b8a30da2f391fa7b 100644 |
--- a/webrtc/test/fuzzers/audio_decoder_opus_fuzzer.cc |
+++ b/webrtc/test/fuzzers/audio_decoder_opus_redundant_fuzzer.cc |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
+ * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
* |
* Use of this source code is governed by a BSD-style license |
* that can be found in the LICENSE file in the root of the source |
@@ -18,6 +18,7 @@ void FuzzOneInput(const uint8_t* data, size_t size) { |
const int kSampleRateHz = 48000; |
const size_t kAllocatedOuputSizeSamples = kSampleRateHz / 10; // 100 ms. |
int16_t output[kAllocatedOuputSizeSamples]; |
- FuzzAudioDecoder(data, size, &dec, kSampleRateHz, sizeof(output), output); |
+ FuzzAudioDecoder(DecoderFunctionType::kRedundantDecode, data, size, &dec, |
+ kSampleRateHz, sizeof(output), output); |
} |
} // namespace webrtc |