Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Nov 2016 04:00:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214183] audio/acoustid-fingerprinter: fails to build with ffmpeg 3.x
Message-ID:  <bug-214183-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214183

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: freebsd-ports-bugs@FreeBSD.org
            Blocks: 207547

In file included from decoder.cpp:1:
decoder.h:172:53: warning: 'codec' is deprecated [-Wdeprecated-declarations]
                AVCodecContext *avctx =3D m_format_ctx->streams[i]->codec;
                                                                  ^
/usr/local/include/libavformat/avformat.h:880:21: note: 'codec' declared he=
re
    AVCodecContext *codec;
                    ^
In file included from decoder.cpp:1:
decoder.h:257:40: error: use of undeclared identifier 'avcodec_decode_audio=
3';
did you mean 'avcodec_decode_audio4'?
                        int consumed =3D avcodec_decode_audio3(
                                       ^~~~~~~~~~~~~~~~~~~~~
                                       avcodec_decode_audio4
/usr/local/include/libavcodec/avcodec.h:4704:5: note: 'avcodec_decode_audio=
4'
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 =3D avcodec_decode_audio3(
                                       ^
/usr/local/include/libavcodec/avcodec.h:4704:5: note: 'avcodec_decode_audio=
4'
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' decl=
ared
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_1=
8h24m30s/logs/errors/acoustid-fingerprinter-0.6_3.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207547
[Bug 207547] [exp-run] Update ffmpeg to 3.2
--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214183-13>