Yahweasel / libav.js

This is a compilation of the libraries associated with handling audio and video in ffmpeg—libavformat, libavcodec, libavfilter, libavutil, libswresample, and libswscale—for emscripten, and thus the web.
288 stars 18 forks source link

Fix loading code on safari #29

Closed martenrichter closed 1 year ago

martenrichter commented 1 year ago

On safari the wasm file, which is loaded ends with .wasm.wasm and causes the old code to fail. So actually lastIndexOf is the correct search pattern.