changeset 104:7f43089e9a7a

gsm-efr2amr: forgot AMR file header again
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 Nov 2022 05:43:26 +0000
parents 0123ca1f1402
children ecfbced76fea
files miscutil/efr2amr.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/miscutil/efr2amr.c	Sun Nov 27 05:41:13 2022 +0000
+++ b/miscutil/efr2amr.c	Sun Nov 27 05:43:26 2022 +0000
@@ -39,6 +39,7 @@
 		perror(argv[2]);
 		exit(1);
 	}
+	fwrite(amr_file_hdr, 1, 6, outf);
 	for (;;) {
 		rc = binfile_read_frame(inf, frm_in);
 		if (rc < 0) {