aboutsummaryrefslogtreecommitdiffstats
path: root/src/amr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amr.c')
-rw-r--r--src/amr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amr.c b/src/amr.c
index 55b9300..16c81ac 100644
--- a/src/amr.c
+++ b/src/amr.c
@@ -55,7 +55,7 @@ int osmo_amr_ft_valid(uint8_t amr_ft)
*
* So, let's discard frames with a AMR FT >= 9.
*/
- if (amr_ft >= 9)
+ if (amr_ft >= AMR_FT_MAX)
return 0;
return 1;