[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-bugs-dist
Subject:    [amarok] [Bug 363245] New: Fails to compile due to FFMPEG API change [kf5 branch]
From:       beojan via KDE Bugzilla <bugzilla_noreply () kde ! org>
Date:       2016-05-19 0:05:43
Message-ID: bug-363245-71684 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=363245

            Bug ID: 363245
           Summary: Fails to compile due to FFMPEG API change [kf5 branch]
           Product: amarok
           Version: 2.8-git
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: amarok-bugs-dist@kde.org
          Reporter: beojan@gmail.com

Amarok fails to build due to changes in the FFMPEG API, with the errors: 

```
/home/beojan/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:246:36: error: use
of undeclared identifier 'avcodec_alloc_frame'
                    decodedFrame = avcodec_alloc_frame();
                                   ^
/home/beojan/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:254:25: error: use
of undeclared identifier 'avcodec_get_frame_defaults'
                        avcodec_get_frame_defaults( decodedFrame );
                        ^
/home/beojan/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:280:9: warning:
'av_free_packet' is deprecated [-Wdeprecated-declarations]
        av_free_packet( &packet );
        ^
/usr/include/mygpo-qt/../libavcodec/avcodec.h:4040:6: note: 'av_free_packet'
has been explicitly marked deprecated here
void av_free_packet(AVPacket *pkt);
     ^
/home/beojan/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:286:5: warning:
'av_free_packet' is deprecated [-Wdeprecated-declarations]
    av_free_packet( &avpkt );
    ^
/usr/include/mygpo-qt/../libavcodec/avcodec.h:4040:6: note: 'av_free_packet'
has been explicitly marked deprecated here
void av_free_packet(AVPacket *pkt);
     ^
```

I am using the kf5 branch. 

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Amarok-bugs-dist mailing list
Amarok-bugs-dist@kde.org
https://mail.kde.org/mailman/listinfo/amarok-bugs-dist

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic