[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17326001#comment-17326001
 ] 

Mike Jumper commented on GUACAMOLE-1330:
----------------------------------------

Relevant changes from 
[https://github.com/FFmpeg/FFmpeg/blob/master/doc/APIchanges]:

{code:none}
-------- 8< --------- FFmpeg 4.4 was cut here -------- 8< ---------

...

2021-03-17 - f7db77bd87 - lavc 58.133.100 - codec.h
  Deprecated av_init_packet(). Once removed, sizeof(AVPacket) will
  no longer be a part of the public ABI.
  Deprecated AVPacketList.
{code}

> 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)

Reply via email to