Skip to content

Sets FFMpeg4.4 as Suffix research path for headers and libs for Archlinux (b2b...

Peio Rigaux requested to merge fix/flexisip_build_enable_video into master

Sets FFMpeg4.4 as Suffix research path for headers and libs for Archlinux (b2b user agent Flexisip build with ENABLE_VIDEO)

This is mandatory as long as ENABLE_VIDEO is strongly bound with FFMPEG, and as long as we do not support FFMPEG 5 (definition issue in ffmpeg-private, see below)

In file included from ../linphone-sdk/mediastreamer2/src/voip/msvideo.c:23:

../linphone-sdk/mediastreamer2/src/utils/ffmpeg-priv.h:124:17: error: conflicting types for ‘avcodec_alloc_context3’; have ‘AVCodecContext *(AVCodec *)’

  124 | AVCodecContext *avcodec_alloc_context3(AVCodec *codec);

      |                 ^~~~~~~~~~~~~~~~~~~~~~

In file included from ../linphone-sdk/mediastreamer2/src/utils/ffmpeg-priv.h:52,

                 from ../linphone-sdk/mediastreamer2/src/voip/msvideo.c:23:

/usr/include/libavcodec/avcodec.h:2326:17: note: previous declaration of ‘avcodec_alloc_context3’ with type ‘AVCodecContext *(const AVCodec *)’

 2326 | AVCodecContext *avcodec_alloc_context3(const AVCodec *codec);
Edited by Peio Rigaux

Merge request reports