diff options
author | Damien Zammit <damien@zamaudio.com> | 2019-06-22 17:15:10 +1000 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2019-06-22 17:15:56 +1000 |
commit | 6240b87cc8639d8402049fdccef2214286d6e0e3 (patch) | |
tree | 0eb48da2e05482932ffd20faef4f295bdc0210e6 /ptformat | |
parent | ea2a1744a6aeb8d4411586de524952209c263c2f (diff) |
Remove nesting limit && fix wasted time recursively scanning regions with no children
Diffstat (limited to 'ptformat')
-rw-r--r-- | ptformat/ptformat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ptformat/ptformat.h b/ptformat/ptformat.h index 4b0e8bd..43b4dc1 100644 --- a/ptformat/ptformat.h +++ b/ptformat/ptformat.h @@ -267,7 +267,7 @@ private: bool parseaudio(void); bool parsemidi(void); void dump(void); - bool parse_block_at(uint32_t pos, struct block_t *b, int level); + bool parse_block_at(uint32_t pos, struct block_t *b, struct block_t *parent, int level); void dump_block(struct block_t& b, int level); bool parse_version(); void parse_region_info(uint32_t j, block_t& blk, region_t& r); |