[Bug 207547] [exp-run] Update ffmpeg to 3.2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 25 08:46:09 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207547

--- Comment #41 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Fri Nov 25 08:45:54 UTC 2016
New revision: 427085
URL: https://svnweb.freebsd.org/changeset/ports/427085

Log:
  x11/leechcraft: unbreak with ffmpeg 3.x

  src/plugins/musiczombie/chroma.cpp:41:10: fatal error:
'libavutil/audioconvert.h' file not found
   #include <libavutil/audioconvert.h>
            ^
  src/plugins/musiczombie/chroma.cpp:125:35: error:
        use of undeclared identifier 'avcodec_alloc_frame'
                  std::shared_ptr<AVFrame> frame (avcodec_alloc_frame (),
                                                  ^
  src/plugins/musiczombie/chroma.cpp:126:27: error:
        use of undeclared identifier 'avcodec_free_frame'; did you mean
'avcodec_get_name'?
                                  [] (AVFrame *frame) { avcodec_free_frame
(&frame); });
                                                        ^~~~~~~~~~~~~~~~~~
                                                        avcodec_get_name
  /usr/local/include/libavcodec/avcodec.h:6187:13: note: 'avcodec_get_name'
declared here
  const char *avcodec_get_name(enum AVCodecID id);
              ^
  src/plugins/musiczombie/chroma.cpp:126:47: error:
        cannot initialize a parameter of type 'enum AVCodecID' with an rvalue
of type 'AVFrame **'
                                  [] (AVFrame *frame) { avcodec_free_frame
(&frame); });
                                                                           
^~~~~~
  /usr/local/include/libavcodec/avcodec.h:6187:45: note: passing argument to
parameter 'id' here
  const char *avcodec_get_name(enum AVCodecID id);
                                              ^

  PR:           207547
  Obtained from:        upstream
  Approved by:  portmgr blanket

Changes:
  head/x11/leechcraft/Makefile
  head/x11/leechcraft/files/patch-plugins_musiczombie_chroma.cpp

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-multimedia mailing list