[FFmpeg-devel] [Compiled Failed] Trying to compile FFmpeg with mysofa and it failed at af_sofalizer.c:164:32

Paul B Mahol onemda at gmail.com
Sat Dec 29 13:09:27 EET 2018


On 12/29/18, Ysy <shengyang998 at foxmail.com> wrote:
> I was trying to compile FFmpeg with `--enable-libmysofa`, and it failed with
> this message below:
>
> src/libavfilter/af_sofalizer.c:164:32: error: implicit declaration of
> function 'mysofa_neighborhood_init_withstepdefine' is invalid in C99
>       [-Werror,-Wimplicit-function-declaration]
>         s->sofa.neighborhood =
> mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
>                                ^
> src/libavfilter/af_sofalizer.c:164:32: warning: this function declaration is
> not a prototype [-Wstrict-prototypes]
> src/libavfilter/af_sofalizer.c:164:30: warning: incompatible integer to
> pointer conversion assigning to 'struct MYSOFA_NEIGHBORHOOD *' from 'int'
>       [-Wint-conversion]
>         s->sofa.neighborhood =
> mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
>                              ^
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 2 warnings and 1 error generated.
>
> Device:
> macOS Mojave (10.14.2)
> Apple LLVM version 10.0.0 (clang-1000.11.45.5)
> Target: x86_64-apple-darwin18.2.0
> Thread model: posix
>
> The code was committed 6 days ago with comment `stop using easy API` in
> master branch.
>
> I’ve noticed that this function (`mysofa_neighborhood_init_withstepdefine `)
> is really not yet exist on this project. Maybe it is not completed yet?
>
> Thank you for watching this.

Update libmysofa lib.


More information about the ffmpeg-devel mailing list