ffmpegwasm / ffmpeg.wasm

FFmpeg for browser, powered by WebAssembly
https://ffmpegwasm.netlify.app
MIT License
14.01k stars 816 forks source link

fix uncaught error in browser's getCreateFFmpegCore() #474

Closed nianxy closed 1 year ago

nianxy commented 1 year ago

An error is thrown when loading corePath fails, but the error thrown in the callback function can not be caught in the Promise context, so I changed the keyword from thrown to reject.