changeset 16:b9a842775f40

gsmfr-decode: trivial bug
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 20 Nov 2022 04:20:40 +0000
parents 851ca64e38e9
children 68a7e86c9868
files frtest/decode.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frtest/decode.c	Sun Nov 20 04:15:44 2022 +0000
+++ b/frtest/decode.c	Sun Nov 20 04:20:40 2022 +0000
@@ -57,7 +57,7 @@
 		if (frame[0] == 0xBF) {
 			bfi = 1;
 			taf = frame[1] & 1;
-		} else if ((frame[0] & 0xF0) == 0xD)
+		} else if ((frame[0] & 0xF0) == 0xD0)
 			bfi = 0;
 		else {
 			fprintf(stderr, "error: %s is not in FR codec format\n",