shithub: aubio

Download patch

ref: 912f34351fac4f86df253047a21b909e5baff795
parent: 134cd3a1b76f29e6e2f888da59da9ce6c68cce44
author: Paul Brossier <[email protected]>
date: Sat Dec 7 06:28:01 EST 2013

examples/utils.c: do not add . at end of path

--- a/examples/utils.c
+++ b/examples/utils.c
@@ -81,7 +81,7 @@
     debug ("Opening files ...\n");
     this_source = new_aubio_source ((char_t*)source_uri, samplerate, hop_size);
     if (this_source == NULL) {
-      outmsg ("Could not open input file %s.\n", source_uri);
+      outmsg ("Could not open input file %s\n", source_uri);
       exit (1);
     }
     if (samplerate == 0) {
@@ -90,7 +90,7 @@
     if (sink_uri != NULL) {
       this_sink = new_aubio_sink ((char_t*)sink_uri, samplerate);
       if (this_sink == NULL) {
-        outmsg ("Could not open output file %s.\n", sink_uri);
+        outmsg ("Could not open output file %s\n", sink_uri);
         exit (1);
       }
     }