Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use NDEBUG version of stbvorbis.js #553

Merged
merged 1 commit into from
Sep 12, 2019
Merged

Use NDEBUG version of stbvorbis.js #553

merged 1 commit into from
Sep 12, 2019

Conversation

dtinth
Copy link
Member

@dtinth dtinth commented Sep 12, 2019

On iOS, when decoding OGG using stbvorbis.js, an assertion error occurred. It’s very strange that it doesn’t happen on Safari for Mac. As a “hacky” fix, I disabled assertions and recompiled the library using -DNDEBUG flag. It is not elegant… but it works. 😂

Changelog

Fixed an issue where the OGG sound decoder crashes when decoding some OGG files in iOS.

@codecov-io
Copy link

codecov-io commented Sep 12, 2019

Codecov Report

Merging #553 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #553   +/-   ##
=======================================
  Coverage   80.86%   80.86%           
=======================================
  Files         156      156           
  Lines        4760     4760           
  Branches      184      184           
=======================================
  Hits         3849     3849           
  Misses        862      862           
  Partials       49       49
Impacted Files Coverage Δ
...aster/vendor/stbvorbis/stbvorbis-e6da5fe-NDEBUG.js 100% <ø> (ø)
src/sampling-master/ogg.ts 79.16% <ø> (ø) ⬆️
...pling-master/vendor/stbvorbis/stbvorbis-e6da5fe.js

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 110b875...e765edb. Read the comment docs.

release-train bot added a commit that referenced this pull request Sep 12, 2019
release-train bot added a commit that referenced this pull request Sep 12, 2019
@dtinth dtinth changed the title Use NDEBUG version of stvorbis.js Use NDEBUG version of stbvorbis.js Sep 12, 2019
@dtinth dtinth merged commit e765edb into master Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants