FreeCalypso > hg > gsm-codec-lib
annotate amrefr/Makefile @ 585:3c6bf0d26ee7 default tip
TW-TS-005 reader: fix maximum line length bug
TW-TS-005 section 4.1 states:
The maximum allowed length of each line is 80 characters, not
including the OS-specific newline encoding.
The implementation of this line length limit in the TW-TS-005 hex file
reader function in the present suite was wrong, such that lines of
the full maximum length could not be read. Fix it.
Note that this bug affects comment lines too, not just actual RTP
payloads. Neither Annex A nor Annex B features an RTP payload format
that goes to the maximum of 40 bytes, but if a comment line goes to
the maximum allowed length of 80 characters not including the
terminating newline, the bug will be triggered, necessitating
the present fix.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 25 Feb 2025 07:49:28 +0000 |
parents | cb1d1ea7f2c5 |
children |
rev | line source |
---|---|
439
65d20172e92a
amrefr: implement amrefr-decode-r utility
Mychaela Falconia <falcon@freecalypso.org>
parents:
438
diff
changeset
|
1 PROGS= amrefr-decode-r amrefr-encode-r amrefr-tseq-dec amrefr-tseq-enc |
47
89945a3b576e
gsmefr-rec2etsi test program added
Mychaela Falconia <falcon@freecalypso.org>
parents:
29
diff
changeset
|
2 LIBEFR= ../libgsmefr/libgsmefr.a |
434
ba5031723ab6
implement amrefr-tseq-enc test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
433
diff
changeset
|
3 LIBAMR= ../libtwamr/libtwamr.a |
438
1bf1bbcef763
amrefr: implement amrefr-encode-r utility
Mychaela Falconia <falcon@freecalypso.org>
parents:
437
diff
changeset
|
4 LIBTEST=../libtest/libtest.a |
437
3eadaef8b28f
implement amrefr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
5 LIBS= ${LIBEFR} ${LIBAMR} |
438
1bf1bbcef763
amrefr: implement amrefr-encode-r utility
Mychaela Falconia <falcon@freecalypso.org>
parents:
437
diff
changeset
|
6 LIBST= ${LIBEFR} ${LIBAMR} ${LIBTEST} |
453
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
439
diff
changeset
|
7 |
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
439
diff
changeset
|
8 include ../config.defs |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
27
896ce7f1d271
frtest: cn-debug is now gsmfr-max-out
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
10 all: ${PROGS} |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
439
65d20172e92a
amrefr: implement amrefr-decode-r utility
Mychaela Falconia <falcon@freecalypso.org>
parents:
438
diff
changeset
|
12 amrefr-decode-r: decode-r.o ${LIBST} |
65d20172e92a
amrefr: implement amrefr-decode-r utility
Mychaela Falconia <falcon@freecalypso.org>
parents:
438
diff
changeset
|
13 ${CC} ${CFLAGS} -o $@ $^ |
65d20172e92a
amrefr: implement amrefr-decode-r utility
Mychaela Falconia <falcon@freecalypso.org>
parents:
438
diff
changeset
|
14 |
438
1bf1bbcef763
amrefr: implement amrefr-encode-r utility
Mychaela Falconia <falcon@freecalypso.org>
parents:
437
diff
changeset
|
15 amrefr-encode-r: encode-r.o ${LIBST} |
1bf1bbcef763
amrefr: implement amrefr-encode-r utility
Mychaela Falconia <falcon@freecalypso.org>
parents:
437
diff
changeset
|
16 ${CC} ${CFLAGS} -o $@ $^ |
1bf1bbcef763
amrefr: implement amrefr-encode-r utility
Mychaela Falconia <falcon@freecalypso.org>
parents:
437
diff
changeset
|
17 |
437
3eadaef8b28f
implement amrefr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
18 amrefr-tseq-dec: tseq-dec.o tseq-bit-rd.o tseq-pcm-out.o ${LIBS} |
3eadaef8b28f
implement amrefr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
19 ${CC} ${CFLAGS} -o $@ $^ |
3eadaef8b28f
implement amrefr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
20 |
3eadaef8b28f
implement amrefr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
21 amrefr-tseq-enc: tseq-enc.o tseq-enc-common.o ${LIBS} |
436
e80632ccb745
simplify test program Makefiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
434
diff
changeset
|
22 ${CC} ${CFLAGS} -o $@ $^ |
164
5f23cb3f0f8d
gsmefr-dlcap-dec program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
162
diff
changeset
|
23 |
437
3eadaef8b28f
implement amrefr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
24 tseq-bit-rd.o: ../efrtest/etsi-bit-rd.c |
3eadaef8b28f
implement amrefr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
25 ${CC} ${CFLAGS} -c -o $@ $< |
3eadaef8b28f
implement amrefr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
26 |
434
ba5031723ab6
implement amrefr-tseq-enc test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
433
diff
changeset
|
27 tseq-enc-common.o: ../efrtest/etsi-enc-common.c |
ba5031723ab6
implement amrefr-tseq-enc test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
433
diff
changeset
|
28 ${CC} ${CFLAGS} -c -o $@ $< |
24
94f18b720f1e
new debug utility gsmfr-preproc
Mychaela Falconia <falcon@freecalypso.org>
parents:
19
diff
changeset
|
29 |
437
3eadaef8b28f
implement amrefr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
30 tseq-pcm-out.o: ../efrtest/etsi-pcm-out.c |
3eadaef8b28f
implement amrefr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
31 ${CC} ${CFLAGS} -c -o $@ $< |
3eadaef8b28f
implement amrefr-tseq-dec test program
Mychaela Falconia <falcon@freecalypso.org>
parents:
436
diff
changeset
|
32 |
17
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
33 install: |
460
cb1d1ea7f2c5
new build system: accept more directory options
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
34 mkdir -p ${DESTDIR}${bindir} |
cb1d1ea7f2c5
new build system: accept more directory options
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
35 install -c ${PROGS} ${DESTDIR}${bindir} |
17
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
36 |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 clean: |
27
896ce7f1d271
frtest: cn-debug is now gsmfr-max-out
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
38 rm -f *.o *.out ${PROGS} |