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. 

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to