# HG changeset patch # User Mychaela Falconia # Date 1672814633 0 # Node ID 17f6907490997544eca156b156a7d246d1a4d6bd # Parent 0494279ae3798ff784f7be1d177b125356177b68 libgsmefr decoder: TAF is a Boolean flag, so compare against 0, not against 1 diff -r 0494279ae379 -r 17f690749099 libgsmefr/dtx_dec.c --- a/libgsmefr/dtx_dec.c Wed Jan 04 06:27:05 2023 +0000 +++ b/libgsmefr/dtx_dec.c Wed Jan 04 06:43:53 2023 +0000 @@ -223,7 +223,7 @@ /* If an unusable frame is received during CNI period when TAF == 1, the frame is classified as a lost SID frame */ - if (TAF == 1) + if (TAF) { st->rxdtx_ctrl = st->rxdtx_ctrl | RX_LOST_SID_FRAME; st->prev_SID_frames_lost = add (st->prev_SID_frames_lost, 1);