[Bug 214183] audio/acoustid-fingerprinter: fails to build with ffmpeg 3.x
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 4 04:00:10 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214183
Bug ID: 214183
Summary: audio/acoustid-fingerprinter: fails to build with
ffmpeg 3.x
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Ports Framework
Assignee: portmgr at FreeBSD.org
Reporter: jbeich at FreeBSD.org
CC: freebsd-ports-bugs at FreeBSD.org
Blocks: 207547
In file included from decoder.cpp:1:
decoder.h:172:53: warning: 'codec' is deprecated [-Wdeprecated-declarations]
AVCodecContext *avctx = m_format_ctx->streams[i]->codec;
^
/usr/local/include/libavformat/avformat.h:880:21: note: 'codec' declared here
AVCodecContext *codec;
^
In file included from decoder.cpp:1:
decoder.h:257:40: error: use of undeclared identifier 'avcodec_decode_audio3';
did you mean 'avcodec_decode_audio4'?
int consumed = avcodec_decode_audio3(
^~~~~~~~~~~~~~~~~~~~~
avcodec_decode_audio4
/usr/local/include/libavcodec/avcodec.h:4704:5: note: 'avcodec_decode_audio4'
declared here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
^
In file included from decoder.cpp:1:
decoder.h:258:46: error: cannot initialize a parameter of type 'AVFrame *' with
an rvalue of type 'int16_t *' (aka 'short *')
m_codec_ctx, (int16_t *)m_buffer1,
&buffer_size,
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/libavcodec/avcodec.h:4704:59: note: passing argument to
parameter 'frame' here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
^
In file included from decoder.cpp:1:
decoder.h:257:40: warning: 'avcodec_decode_audio4' is deprecated
[-Wdeprecated-declarations]
int consumed = avcodec_decode_audio3(
^
/usr/local/include/libavcodec/avcodec.h:4704:5: note: 'avcodec_decode_audio4'
declared here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
^
In file included from decoder.cpp:1:
decoder.h:315:4: warning: 'av_free_packet' is deprecated
[-Wdeprecated-declarations]
av_free_packet(&packet);
^
/usr/local/include/libavcodec/avcodec.h:4414:6: note: 'av_free_packet' declared
here
void av_free_packet(AVPacket *pkt);
^
3 warnings and 2 errors generated.
http://package23.nyi.freebsd.org/data/103i386-default-PR207547/2016-10-04_18h24m30s/logs/errors/acoustid-fingerprinter-0.6_3.log
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207547
[Bug 207547] [exp-run] Update ffmpeg to 3.2
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list