* 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
This commit is contained in:
Hans Baier 2008-05-06 09:38:23 +00:00
parent 8557d0c69f
commit 8c0e27928a

View file

@ -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;