Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
amarok.7817
amarok-ffmpeg3.0.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File amarok-ffmpeg3.0.patch of Package amarok.7817
--- src/musicbrainz/MusicDNSAudioDecoder.cpp.orig 2013-08-14 22:22:52.000000000 +0200 +++ src/musicbrainz/MusicDNSAudioDecoder.cpp 2016-02-26 15:55:31.000000000 +0100 @@ -223,7 +223,7 @@ { 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 @@ break; } else - avcodec_get_frame_defaults( decodedFrame ); + av_frame_unref( decodedFrame ); } decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt ); @@ -341,7 +341,7 @@ { 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 @@ break; } else - avcodec_get_frame_defaults( decodedFrame ); + av_frame_unref( decodedFrame ); } decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt ); @@ -459,7 +459,7 @@ { 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 @@ break; } else - avcodec_get_frame_defaults( decodedFrame ); + av_frame_unref( decodedFrame ); } decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor