summaryrefslogtreecommitdiffstats
path: root/src/dls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dls.c')
-rw-r--r--src/dls.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/dls.c b/src/dls.c
index 1a9cc7c..457a26d 100644
--- a/src/dls.c
+++ b/src/dls.c
@@ -55,7 +55,7 @@ void usage(char* name)
fprintf(stderr, "DAB DLS encoder %s\n\n"
"By CSP Innovazione nelle ICT s.c.a r.l. (http://rd.csp.it/)\n"
"and Opendigitalradio.org\n\n"
- "Reads DLS from /tmp/dls.file\n\n"
+ "Reads DLS from /tmp/dls.txt\n\n"
"WARNING: This program has memory leaks! Do not attempt\n"
"to leave it running for long periods of time!\n\n"
" http://opendigitalradio.org\n\n",
@@ -138,6 +138,13 @@ int main(int argc, char *argv[])
writeDLS(output_fd, dls_file, padlen);
+ /* Do it twice, so that there is for sure one toggle done
+ * by create_dls_datagroup
+ *
+ * It's ugly, I know.
+ */
+ writeDLS(output_fd, dls_file, padlen);
+
return 0;
}