FreeCalypso > hg > gsm-codec-lib
annotate 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 | a81ce3cd38a7 |
children |
rev | line source |
---|---|
497
a1599eaf51f9
top Makefile: add libgsmhr1
Mychaela Falconia <falcon@freecalypso.org>
parents:
461
diff
changeset
|
1 SUBDIR_LIBPROD= libgsmefr libgsmfr2 libgsmhr1 libtwamr |
516
5353d7652f65
top Makefile: add hrutil
Mychaela Falconia <falcon@freecalypso.org>
parents:
497
diff
changeset
|
2 SUBDIR_UTILS= amrconv amrefr amrtest efrtest frtest hrutil miscutil |
448
a2065e7d68bc
top Makefile: move libtwamr to SUBDIR_LIBPROD
Mychaela Falconia <falcon@freecalypso.org>
parents:
443
diff
changeset
|
3 SUBDIR_INT= dev libtest |
21
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
4 |
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
5 SUBDIR= ${SUBDIR_LIBPROD} ${SUBDIR_UTILS} ${SUBDIR_INT} |
453
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
448
diff
changeset
|
6 SUBDIR_INST= ${SUBDIR_LIBPROD} ${SUBDIR_UTILS} |
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
448
diff
changeset
|
7 DESTDIR= |
9
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 all: ${SUBDIR} |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
184
b092a510141e
tree reorg: move gsm-amr2efr & gsm-efr2amr to amrconv subdir
Mychaela Falconia <falcon@freecalypso.org>
parents:
47
diff
changeset
|
11 amrconv: libtest |
438
1bf1bbcef763
amrefr: implement amrefr-encode-r utility
Mychaela Falconia <falcon@freecalypso.org>
parents:
434
diff
changeset
|
12 amrefr: libgsmefr libtest libtwamr |
443
526a7f0e027d
amrtest: implement twamr-encode
Mychaela Falconia <falcon@freecalypso.org>
parents:
438
diff
changeset
|
13 amrtest: libtest libtwamr |
47
89945a3b576e
gsmefr-rec2etsi test program added
Mychaela Falconia <falcon@freecalypso.org>
parents:
46
diff
changeset
|
14 efrtest: libgsmefr libtest |
291
da533081fb95
top Makefile: no more libgsmfrp
Mychaela Falconia <falcon@freecalypso.org>
parents:
280
diff
changeset
|
15 frtest: libgsmfr2 libtest |
558
a81ce3cd38a7
top Makefile: hrutil depends on libtest
Mychaela Falconia <falcon@freecalypso.org>
parents:
516
diff
changeset
|
16 hrutil: libgsmhr1 libtest |
280
356d9675701d
top Makefile: add libgsmfr2 dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
257
diff
changeset
|
17 miscutil: libgsmefr libgsmfr2 libtest |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
9
diff
changeset
|
18 |
453
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
448
diff
changeset
|
19 ${SUBDIR}: FRC config.defs |
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
448
diff
changeset
|
20 cd $@; ${MAKE} ${MFLAGS} |
9
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
453
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
448
diff
changeset
|
22 config.defs: |
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
448
diff
changeset
|
23 @echo 'You must run ./configure before make' |
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
448
diff
changeset
|
24 @false |
21
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
25 |
453
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
448
diff
changeset
|
26 install: FRC |
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
448
diff
changeset
|
27 for i in ${SUBDIR_INST}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
19f1aa01ea10
new approach to config & build for ThemWi software
Mychaela Falconia <falcon@freecalypso.org>
parents:
448
diff
changeset
|
28 DESTDIR=${DESTDIR} install); done |
21
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
29 |
461
a53225b44ea5
further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
30 # The following two subset install targets are only for experts; |
a53225b44ea5
further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
31 # if you are not sure why they are needed, you *don't* need them! |
a53225b44ea5
further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
32 |
a53225b44ea5
further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
33 install-lib: FRC |
a53225b44ea5
further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
34 for i in ${SUBDIR_LIBPROD}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
a53225b44ea5
further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
35 DESTDIR=${DESTDIR} install); done |
a53225b44ea5
further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
36 |
a53225b44ea5
further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
37 install-utils: FRC |
a53225b44ea5
further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
38 for i in ${SUBDIR_UTILS}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
a53225b44ea5
further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
39 DESTDIR=${DESTDIR} install); done |
a53225b44ea5
further refinement of build system:
Mychaela Falconia <falcon@freecalypso.org>
parents:
453
diff
changeset
|
40 |
9
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 clean: FRC |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 rm -f a.out core errs |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 FRC: |