[Bug 214184] audio/amarok-kde4: fails to build with ffmpeg 3.x

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 4 04:07:06 UTC 2016


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

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

src/musicbrainz/MusicDNSAudioDecoder.cpp:203:51: warning: 'codec' is deprecated
[-Wdeprecated-declarations]
    pCodecCtx = pFormatCtx->streams[audioStream]->codec;
                                                  ^
/usr/local/include/libavformat/avformat.h:880:21: note: 'codec' declared here
    AVCodecContext *codec;
                    ^
src/musicbrainz/MusicDNSAudioDecoder.cpp:228:36: error: use of undeclared
identifier 'avcodec_alloc_frame'
                    decodedFrame = 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 = avcodec_decode_audio4( pCodecCtx, decodedFrame,
&gotFrame, &avpkt );
                             ^
/usr/local/include/libavcodec/avcodec.h:4704:5: note: 'avcodec_decode_audio4'
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' declared
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' declared
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_18h24m30s/logs/errors/amarok-2.8.0_6.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