You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2021/04/20 17:51:00 UTC
[jira] [Updated] (GUACAMOLE-1330) guacenc build fails against
FFmpeg 4.4
[ https://issues.apache.org/jira/browse/GUACAMOLE-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Jumper updated GUACAMOLE-1330:
-----------------------------------
Priority: Minor (was: Major)
> guacenc build fails against FFmpeg 4.4
> --------------------------------------
>
> Key: GUACAMOLE-1330
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1330
> Project: Guacamole
> Issue Type: Bug
> Components: guacenc
> Affects Versions: 1.3.0
> Reporter: David Geiger
> Priority: Minor
> Attachments: build.x86_64.0.20210420152608.log
>
>
> 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|https://github.com/swaywm/wlroots/pull/2799/commits/2aa5e7e763d04ecb2313200bc992bf387e96d473]}} now deprecated in ffmpeg 4.4:
>
> {code:java}
> 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....
> {code}
> Regards,
> David
--
This message was sent by Atlassian Jira
(v8.3.4#803005)