Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1330

guacenc build fails against FFmpeg 4.4

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Component/s: guacenc
    • Labels:
      None

      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

        1. build.x86_64.0.20210420152608.log
          278 kB
          David Geiger

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                daviddavid David Geiger
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: