diff options
| author | micknoise <mickgrierson@gmail.com> | 2016-12-19 23:18:37 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-19 23:18:37 +0000 |
| commit | 063778c4e6285facf42a811183998c96db82ea87 (patch) | |
| tree | bc10f0d6a1139db681506c1ad4291a1b3e11bb3f /maximilian.cpp | |
| parent | de7e1b6c41234d1b7e3601b2aec3104f5f79ead0 (diff) | |
| parent | c15ea47d03feca87e379a3f735b8ede057b32fa0 (diff) | |
Merge pull request #37 from sieren/loadogg-assertion
Added runtime assertion for undefined VORBIS
Diffstat (limited to 'maximilian.cpp')
| -rw-r--r-- | maximilian.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/maximilian.cpp b/maximilian.cpp index 0d9bcfd..b0c0b5e 100644 --- a/maximilian.cpp +++ b/maximilian.cpp @@ -751,6 +751,8 @@ bool maxiSample::loadOgg(string fileName, int channel) { } } return result; // this should probably be something more descriptive +#else + assert(false); // called but VORBIS not defined! #endif return 0; } |
