FreeCalypso > hg > gsm-codec-lib
changeset 45:4ae1dd43e332
libgsmefr/frame2params.c: brown paper bag
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 25 Nov 2022 02:40:21 +0000 |
parents | c337661d2ab5 |
children | edd2e20e7090 |
files | libgsmefr/frame2params.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgsmefr/frame2params.c Fri Nov 25 02:12:38 2022 +0000 +++ b/libgsmefr/frame2params.c Fri Nov 25 02:40:21 2022 +0000 @@ -6,7 +6,7 @@ void EFR_frame2params(const uint8_t *frame, int16_t *params) { - const uint8_t *c; + const uint8_t *c = frame; /* EFR_MAGIC = (*c >> 4) & 0xF; */ params[0] = (*c++ & 0xF) << 3;