Fix assert check in neteq_quality_test

While reading inpùt files until their end, the assert should be
ASSERT_TRUE.

Change-Id: Ib60b68173b58b77d9789c544c7cb647a752a24d1
Bug: webrtc:10690
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/140280
Commit-Queue: Pablo Barrera González <barrerap@webrtc.org>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28202}
This commit is contained in:
Pablo Barrera González
2019-06-05 09:28:49 +02:00
committed by Commit Bot
parent 27a7e9fb97
commit 7541141b99

View File

@ -421,7 +421,7 @@ void NetEqQualityTest::Simulate() {
decoded_time_ms_) {
if (!in_file_->Read(in_size_samples_ * channels_, &in_data_[0])) {
end_of_input = true;
ASSERT_FALSE(end_of_input && FLAG_runtime_ms < 0);
ASSERT_TRUE(end_of_input && FLAG_runtime_ms < 0);
break;
}
payload_.Clear();