Fix RTC_CHECK in neteq_rtp_fuzzer

The change in
https://webrtc-review.googlesource.com/c/116683 made the fuzzer crash
at startup.

Bug: chromium:921050, webrtc:10185
Change-Id: Ie3eb26e12b4ae9b29c1c424af0d3eb287b5f1a73
Reviewed-on: https://webrtc-review.googlesource.com/c/117261
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26238}
This commit is contained in:
Niels Möller
2019-01-14 12:51:19 +01:00
committed by Commit Bot
parent 1a86b78180
commit 5d7cf3d4eb

View File

@ -136,7 +136,7 @@ void FuzzOneInputTest(const uint8_t* data, size_t size) {
// expected decoder type.
const auto it = codecs.find(kPayloadType);
RTC_CHECK(it != codecs.end());
RTC_CHECK(it->second == SdpAudioFormat("l16", 32000, 2));
RTC_CHECK(it->second == SdpAudioFormat("L16", 32000, 1));
NetEqTest test(config, CreateBuiltinAudioDecoderFactory(), codecs, nullptr,
std::move(input), std::move(output), callbacks);