From 8c0e27928ab450a6dc73773aaecf11e22811d823 Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Tue, 6 May 2008 09:38:23 +0000 Subject: [PATCH] * bugfix: SMFSource: track footer at beginning of track not overwritten git-svn-id: svn://localhost/ardour2/branches/3.0@3320 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/smf_source.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/ardour/smf_source.cc b/libs/ardour/smf_source.cc index a39074747b..0816cc03d9 100644 --- a/libs/ardour/smf_source.cc +++ b/libs/ardour/smf_source.cc @@ -170,8 +170,7 @@ SMFSource::open() // Write a tentative header just to pad things out so writing happens in the right spot flush_header(); - // this is the first footer written, so we dont need to seek for the footer - write_footer(); + flush_footer(); } return (_fd == 0) ? -1 : 0;