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: [email protected]
          Reporter: [email protected]

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 watching all bug changes.

Reply via email to