mgcp/test: Fix mgcp-transcoding assertion (Coverity)
In test_rtp_seq_state an assignment is accidently done within an assertion. This commit changes that into a comparison as it was intended. Fixes: Coverity CID 1295457, 1295458 Sponsored-by: On-Waves ehf
This commit is contained in:
parent
5a2484b10e
commit
ddc0e05604
|
@ -295,7 +295,7 @@ static void test_rtp_seq_state(void)
|
|||
OSMO_ASSERT(cont >= 0);
|
||||
OSMO_ASSERT(state->is_running);
|
||||
OSMO_ASSERT(state->next_seq == 2);
|
||||
OSMO_ASSERT(state->next_time = 240);
|
||||
OSMO_ASSERT(state->next_time == 240);
|
||||
|
||||
/* verify that the right timestamp was written */
|
||||
OSMO_ASSERT(len == audio_packets_pcma[0].len);
|
||||
|
|
Loading…
Reference in New Issue