- 错误
mod_av.c: 在函数‘mod_av_shutdown’中:
mod_av.c:125:2: 错误:不建议使用‘av_lockmgr_register’(声明于 /usr/local/include/libavcodec/avcodec.h:6163) [-Werror=deprecated-declarations]
av_lockmgr_register(NULL);
- 解决办法
增加-Wno-error=deprecated-declarations。具体增加位置看编译脚本。
mod_av_la_CFLAGS = -Wno-error=deprecated-declarations