fix(ci): Resolve FFmpeg 6.1 pointer mutability and MSYS2 gcc include headers
This commit is contained in:
parent
01474a261f
commit
c2ec9e846f
2 changed files with 4 additions and 4 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -118,10 +118,10 @@ jobs:
|
|||
|
||||
- name: Build Release Binaries (Windows)
|
||||
shell: msys2 {0}
|
||||
env:
|
||||
LIBCLANG_PATH: /mingw64/bin
|
||||
BINDGEN_EXTRA_CLANG_ARGS: "-I/mingw64/include"
|
||||
run: |
|
||||
GCC_INC="$(gcc -print-file-name=include)"
|
||||
export LIBCLANG_PATH="/mingw64/bin"
|
||||
export BINDGEN_EXTRA_CLANG_ARGS="-I${GCC_INC} -I/mingw64/include"
|
||||
cargo build --release
|
||||
|
||||
- name: Package Windows Zip
|
||||
|
|
|
|||
|
|
@ -584,7 +584,7 @@ impl AudioEncoder {
|
|||
self.swr_ctx,
|
||||
(*out_frame).data.as_mut_ptr(),
|
||||
nb_samples,
|
||||
(*in_frame).data.as_ptr() as *const *const u8,
|
||||
(*in_frame).data.as_ptr() as *mut _,
|
||||
nb_samples
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue