aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/amarok/files/amarok-2.8.90-ffmpeg3.patch')
-rw-r--r--media-sound/amarok/files/amarok-2.8.90-ffmpeg3.patch60
1 files changed, 0 insertions, 60 deletions
diff --git a/media-sound/amarok/files/amarok-2.8.90-ffmpeg3.patch b/media-sound/amarok/files/amarok-2.8.90-ffmpeg3.patch
deleted file mode 100644
index 31feca0..0000000
--- a/media-sound/amarok/files/amarok-2.8.90-ffmpeg3.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-https://git.reviewboard.kde.org/r/129626
-
-Index: amarok-2.8.90/src/musicbrainz/MusicDNSAudioDecoder.cpp
-===================================================================
---- amarok-2.8.90.orig/src/musicbrainz/MusicDNSAudioDecoder.cpp
-+++ amarok-2.8.90/src/musicbrainz/MusicDNSAudioDecoder.cpp
-@@ -223,7 +223,7 @@ MusicDNSAudioDecoder::decode( const QStr
- {
- if( !decodedFrame )
- {
-- decodedFrame = avcodec_alloc_frame();
-+ decodedFrame = av_frame_alloc();
- if( !decodedFrame )
- {
- warning() << "Unable to allocate enough memory to decode file.";
-@@ -231,7 +231,7 @@ MusicDNSAudioDecoder::decode( const QStr
- break;
- }
- else
-- avcodec_get_frame_defaults( decodedFrame );
-+ av_frame_unref ( decodedFrame );
- }
-
- decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt );
-@@ -341,7 +341,7 @@ MusicDNSAudioDecoder::decode( const QStr
- {
- if( !decodedFrame )
- {
-- decodedFrame = avcodec_alloc_frame();
-+ decodedFrame = av_frame_alloc();
- if( !decodedFrame )
- {
- warning() << "Unable to allocate enough memory to decode file.";
-@@ -349,7 +349,7 @@ MusicDNSAudioDecoder::decode( const QStr
- break;
- }
- else
-- avcodec_get_frame_defaults( decodedFrame );
-+ av_frame_unref( decodedFrame );
- }
-
- decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt );
-@@ -459,7 +459,7 @@ MusicDNSAudioDecoder::decode( const QStr
- {
- if( !decodedFrame )
- {
-- decodedFrame = avcodec_alloc_frame();
-+ decodedFrame = av_frame_alloc();
- if( !decodedFrame )
- {
- warning() << "Unable to allocate enough memory to decode file.";
-@@ -467,7 +467,7 @@ MusicDNSAudioDecoder::decode( const QStr
- break;
- }
- else
-- avcodec_get_frame_defaults( decodedFrame );
-+ av_frame_unref( decodedFrame );
- }
-
- decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt );