Closed yanghaku closed 1 month ago
Thanks for submitting :) would it be possible for you to also add the same check for target_os=freebsd
(regardless of the architecture)?
It seems that they are running into the same errors https://github.com/zmwangx/rust-ffmpeg/issues/140
Ok
I've noticed that changing 'errno' to 'c_errno' would cause interruptions in the original version's API. Therefore, I need to look for an alternative solution for the 'wasm32-wasi' target.
Hello! This PR is ready for review, Thanks!
hi! Thanks a lot for submitting this, it looks good! I'll merge it and release a minor version :)
changes
ENODATA
,ENOSR
,ENOSTR
,ETIME
forwasm32-wasi
target, so I change these into conditional compile.wasm32-wasi
target,errno
is a static variable inerrno.h
, the member name cannot be named the same as a static, so I changeerrno
toc_errno
.The examples which use
ffmpeg-next
and compile towasm32-wasi
target can be found at https://github.com/yanghaku/ffmpeg-wasm32-wasi.