Starting >>> web_video_server
--- stderr: web_video_server
/home/cat/web_test/src/web_video_server-ros2/web_video_server-ros2/src/libav_streamer.cpp:12:63: error: use of enum ‘AVLockOp’ without previous declaration
12 | static int ffmpeg_boost_mutex_lock_manager(void **mutex, enum AVLockOp op) // ffmpeg_boost_mutex_lock_manager的函数,它用于管理FFmpeg锁操作
| ^~~~~~~~
/home/cat/web_test/src/web_video_server-ros2/web_video_server-ros2/src/libav_streamer.cpp: In function ‘int web_video_server::ffmpeg_boost_mutex_lock_manager(void**, int)’:
/home/cat/web_test/src/web_video_server-ros2/web_video_server-ros2/src/libav_streamer.cpp:19:10: error: ‘AV_LOCK_CREATE’ was not declared in this scope; did you mean ‘AV_LOG_TRACE’?
19 | case AV_LOCK_CREATE:
| ^~~~~~~~~~~~~~
| AV_LOG_TRACE
/home/cat/web_test/src/web_video_server-ros2/web_video_server-ros2/src/libav_streamer.cpp:26:10: error: ‘AV_LOCK_OBTAIN’ was not declared in this scope
26 | case AV_LOCK_OBTAIN:
| ^~~~~~~~~~~~~~
/home/cat/web_test/src/web_video_server-ros2/web_video_server-ros2/src/libav_streamer.cpp:32:10: error: ‘AV_LOCK_RELEASE’ was not declared in this scope
32 | case AV_LOCK_RELEASE:
| ^~~~~~~~~~~~~~~
/home/cat/web_test/src/web_video_server-ros2/web_video_server-ros2/src/libav_streamer.cpp:38:10: error: ‘AV_LOCK_DESTROY’ was not declared in this scope
38 | case AV_LOCK_DESTROY:
| ^~~~~~~~~~~~~~~