Description
Hi,
On Mageia Cauldron I tried to build guacamole-server 1.3.0 against new ffmpeg 4.4 but it fails to build due to av_init_packet now deprecated in ffmpeg 4.4:
ffmpeg-compat.c:140:5: error: 'av_init_packet' is deprecated [-Werror=deprecated-declarations] 140 | av_init_packet(&packet); | ^~~~~~~~~~~~~~ In file included from /usr/include/libavcodec/bsf.h:30, from /usr/include/libavcodec/avcodec.h:44, from video.h:27, from ffmpeg-compat.h:24, from ffmpeg-compat.c:21: /usr/include/libavcodec/packet.h:488:6: note: declared here 488 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:804: guacenc-ffmpeg-compat.o] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/guacamole-server-1.3.0/src/guacenc' make[2]: *** Waiting for unfinished jobs....
Regards,
David
Attachments
Attachments
Issue Links
- is duplicated by
-
GUACAMOLE-1331 release 1.3.0 Fails to build with ffmpeg 4.4
-
- Closed
-
-
GUACAMOLE-1610 FFmpeg: Replace deprecated API (av_init_packet)
-
- Closed
-