diff options
author | Damien Zammit <damien@zamaudio.com> | 2014-04-29 06:44:40 +1000 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2014-04-29 06:48:29 +1000 |
commit | 2f6065b32c26dba0f7ea5da5c980d0406c36cc55 (patch) | |
tree | 32e72f96535480bbb6ae346e69866c03a61a6b3a /libs/evoral/evoral/SMF.hpp | |
parent | f5276a104c2d544cf537db9e9b8de9022de7ad56 (diff) |
Fixed problem where importing invalid midi files caused crash.3.5.380
Diffstat (limited to 'libs/evoral/evoral/SMF.hpp')
-rw-r--r-- | libs/evoral/evoral/SMF.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/evoral/evoral/SMF.hpp b/libs/evoral/evoral/SMF.hpp index 8bd05444c4..02d0710409 100644 --- a/libs/evoral/evoral/SMF.hpp +++ b/libs/evoral/evoral/SMF.hpp @@ -50,6 +50,7 @@ public: SMF() : _smf(0), _smf_track(0), _empty(true) {}; virtual ~SMF(); + static bool test(const std::string& path); int open(const std::string& path, int track=1) THROW_FILE_ERROR; int create(const std::string& path, int track=1, uint16_t ppqn=19200) THROW_FILE_ERROR; void close() THROW_FILE_ERROR; |