undefined reference to `_avdevice_register_all'
|Reported by:||Kyle||Owned by:||Michael Niedermayer|
|Version:||git||Keywords:||undefined reference avdevice_register_all|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
ffmpeg.c:4514: undefined reference to `_avdevice_register_all'
when --disable-static --enable-shared is used, it seems to only happen when --disable-static --enable-shared is used, static builds fine.
I believe it is related to the leading underscore _ before avdevice_register_all but I can't confirm that.
I'm building for Windows and the toolchain is not the issue.
I gave this a critical priority because FFmpeg will not build a shared version for Windows.
I'm unsure of what patch broke this, but the last proven working build I know of is git-39dbe9b.