diff runner/MIDIFeatureWriter.cpp @ 152:db83ea0e102d jams

Make the JSON well-formed (though still empty), except in the case where we are asked to write more than one file's features to the same output file or stdout
author Chris Cannam
date Tue, 14 Oct 2014 12:35:19 +0100
parents 56dcb5f67ed1
children 977b7007071f
line wrap: on
line diff
--- a/runner/MIDIFeatureWriter.cpp	Tue Oct 14 11:27:43 2014 +0100
+++ b/runner/MIDIFeatureWriter.cpp	Tue Oct 14 12:35:19 2014 +0100
@@ -166,6 +166,8 @@
 	}
     }
 
+    m_notes.clear();
+
     FileFeatureWriter::finish();
 }