reset assignment codec on start_assignment

Make sure no stray values from previous assignment linger. When starting
Assignment, by definition codec_filter.assignment must be empty.

Change-Id: I58c25bbea9523b212934e9dad551e94bc01d6bba
Neels Hofmeyr 4 months ago
parent 3292fe962f
commit 0ef0cf6b7c
  1. 1
      src/libmsc/msc_a.c

@ -1842,6 +1842,7 @@ static int msc_a_start_assignment(struct msc_a *msc_a, struct gsm_trans *cc_tran
msc_a->cc.active_trans = cc_trans;
cc_trans->cc.mncc_release_sent = false;
cc_trans->cc.codecs.assignment = (struct sdp_audio_codec){};
OSMO_ASSERT(cc_trans && cc_trans->type == TRANS_CC);
cl = msc_a_ensure_call_leg(msc_a, cc_trans);

Loading…
Cancel
Save