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

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

            Bug ID: 214184
           Summary: audio/amarok-kde4: 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

src/musicbrainz/MusicDNSAudioDecoder.cpp:203:51: warning: 'codec' is deprec=
ated
[-Wdeprecated-declarations]
    pCodecCtx =3D pFormatCtx->streams[audioStream]->codec;
                                                  ^
/usr/local/include/libavformat/avformat.h:880:21: note: 'codec' declared he=
re
    AVCodecContext *codec;
                    ^
src/musicbrainz/MusicDNSAudioDecoder.cpp:228:36: error: use of undeclared
identifier 'avcodec_alloc_frame'
                    decodedFrame =3D avcodec_alloc_frame();
                                   ^
src/musicbrainz/MusicDNSAudioDecoder.cpp:236:25: error: use of undeclared
identifier 'avcodec_get_frame_defaults'
                        avcodec_get_frame_defaults( decodedFrame );
                        ^
src/musicbrainz/MusicDNSAudioDecoder.cpp:239:30: warning:
'avcodec_decode_audio4' is deprecated [-Wdeprecated-declarations]
                decoderRet =3D avcodec_decode_audio4( pCodecCtx, decodedFra=
me,
&gotFrame, &avpkt );
                             ^
/usr/local/include/libavcodec/avcodec.h:4704:5: note: 'avcodec_decode_audio=
4'
declared here
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
    ^
src/musicbrainz/MusicDNSAudioDecoder.cpp:262:9: 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);
     ^
src/musicbrainz/MusicDNSAudioDecoder.cpp:268:5: warning: 'av_free_packet' is
deprecated [-Wdeprecated-declarations]
    av_free_packet( &avpkt );
    ^
/usr/local/include/libavcodec/avcodec.h:4414:6: note: 'av_free_packet' decl=
ared
here
void av_free_packet(AVPacket *pkt);
     ^
4 warnings and 2 errors generated.

http://package23.nyi.freebsd.org/data/103i386-default-PR207547/2016-10-04_1=
8h24m30s/logs/errors/amarok-2.8.0_6.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-214184-13>