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;