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