Hi,
linphone fails to compile with libavcodec54:
CC videoenc.lo
videoenc.c: In function
‘ms_ffmpeg_check_init’:
videoenc.c:56:3: warning: implicit
declaration of function ‘avcodec_init’
[-Wimplicit-function-declaration]
videoenc.c: In function ‘prepare’:
videoenc.c:239:2: warning:
‘avcodec_get_context_defaults’ is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3260)
[-Wdeprecated-declarations]
videoenc.c: In function ‘prepare_h263’:
videoenc.c:303:13: error:
‘CODEC_FLAG_H263P_UMV’ undeclared (first use in this function)
videoenc.c:303:13: note: each undeclared
identifier is reported only once for each function it appears in
videoenc.c:305:13: error:
‘CODEC_FLAG_H263P_SLICE_STRUCT’ undeclared (first use in this
function)
videoenc.c: In function ‘enc_preprocess’:
videoenc.c:345:2: warning: ‘avcodec_open’ is
deprecated (declared at /usr/include/libavcodec/avcodec.h:3380)
[-Wdeprecated-declarations]
videoenc.c: In function ‘add_rfc2190_header’:
videoenc.c:375:41: error: ‘FF_I_TYPE’
undeclared (first use in this function)
videoenc.c: In function ‘process_frame’:
videoenc.c:782:18: error: ‘FF_I_TYPE’
undeclared (first use in this function)
videoenc.c:794:2: warning:
‘avcodec_encode_video’ is deprecated (declared at
/usr/include/libavcodec/avcodec.h:4077)
[-Wdeprecated-declarations]
make[5]: *** [videoenc.lo] Error 1
make[5]: Leaving directory
`/home/gerhard/src/linphone-git/linphone/mediastreamer2/src'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/home/gerhard/src/linphone-git/linphone/mediastreamer2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/gerhard/src/linphone-git/linphone/mediastreamer2'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/gerhard/src/linphone-git/linphone/mediastreamer2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/gerhard/src/linphone-git/linphone'
make: *** [all] Error 2
Obviously, the ffmpeg API has changed. Are
there any plans to adjust this in the near future?
regards
Gerhard
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
--
Yann Diorcet