diff options
author | Isaac David <isacdaavid@isacdaavid.info> | 2016-03-26 21:07:53 -0600 |
---|---|---|
committer | Isaac David <isacdaavid@isacdaavid.info> | 2016-03-26 21:07:53 -0600 |
commit | ea2ae0e235f8cd1f055ec33c6451bb805c873733 (patch) | |
tree | 9decada4be0ead3e2e46596412bf44f1bdd4b816 /libre-testing/kodi/prevent-taglib-from-crashing-kodi.patch | |
parent | 92eb00d00793ef4fef54b0324a1ddf0d20257df3 (diff) | |
download | abslibre-ea2ae0e235f8cd1f055ec33c6451bb805c873733.tar.gz abslibre-ea2ae0e235f8cd1f055ec33c6451bb805c873733.tar.bz2 abslibre-ea2ae0e235f8cd1f055ec33c6451bb805c873733.zip |
remove kodi from [libre-testing]
Diffstat (limited to 'libre-testing/kodi/prevent-taglib-from-crashing-kodi.patch')
-rw-r--r-- | libre-testing/kodi/prevent-taglib-from-crashing-kodi.patch | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/libre-testing/kodi/prevent-taglib-from-crashing-kodi.patch b/libre-testing/kodi/prevent-taglib-from-crashing-kodi.patch deleted file mode 100644 index 79c2b79aa..000000000 --- a/libre-testing/kodi/prevent-taglib-from-crashing-kodi.patch +++ /dev/null @@ -1,96 +0,0 @@ ---- xbmc/music/tags/TagLoaderTagLib.cpp.orig 2015-12-26 07:34:56.449019063 +0100 -+++ xbmc/music/tags/TagLoaderTagLib.cpp 2015-12-26 08:26:13.905598496 +0100 -@@ -134,48 +134,55 @@ - TagLib::RIFF::WAV::File * wavFile = NULL; - TagLib::RIFF::AIFF::File * aiffFile = NULL; - -- if (strExtension == "ape") -- file = apeFile = new APE::File(stream); -- else if (strExtension == "asf" || strExtension == "wmv" || strExtension == "wma") -- file = asfFile = new ASF::File(stream); -- else if (strExtension == "flac") -- file = flacFile = new FLAC::File(stream, ID3v2::FrameFactory::instance()); -- else if (strExtension == "it") -- file = itFile = new IT::File(stream); -- else if (strExtension == "mod" || strExtension == "module" || strExtension == "nst" || strExtension == "wow") -- file = modFile = new Mod::File(stream); -- else if (strExtension == "mp4" || strExtension == "m4a" || -- strExtension == "m4r" || strExtension == "m4b" || -- strExtension == "m4p" || strExtension == "3g2") -- file = mp4File = new MP4::File(stream); -- else if (strExtension == "mpc") -- file = mpcFile = new MPC::File(stream); -- else if (strExtension == "mp3" || strExtension == "aac") -- file = mpegFile = new MPEG::File(stream, ID3v2::FrameFactory::instance()); -- else if (strExtension == "s3m") -- file = s3mFile = new S3M::File(stream); -- else if (strExtension == "tta") -- file = ttaFile = new TrueAudio::File(stream, ID3v2::FrameFactory::instance()); -- else if (strExtension == "wv") -- file = wvFile = new WavPack::File(stream); -- else if (strExtension == "aif" || strExtension == "aiff") -- file = aiffFile = new RIFF::AIFF::File(stream); -- else if (strExtension == "wav") -- file = wavFile = new RIFF::WAV::File(stream); -- else if (strExtension == "xm") -- file = xmFile = new XM::File(stream); -- else if (strExtension == "ogg") -- file = oggVorbisFile = new Ogg::Vorbis::File(stream); -- else if (strExtension == "oga") // Leave this madness until last - oga container can have Vorbis or FLAC -+ try - { -- file = oggFlacFile = new Ogg::FLAC::File(stream); -- if (!file || !file->isValid()) -- { -- delete file; -- oggFlacFile = NULL; -+ if (strExtension == "ape") -+ file = apeFile = new APE::File(stream); -+ else if (strExtension == "asf" || strExtension == "wmv" || strExtension == "wma") -+ file = asfFile = new ASF::File(stream); -+ else if (strExtension == "flac") -+ file = flacFile = new FLAC::File(stream, ID3v2::FrameFactory::instance()); -+ else if (strExtension == "it") -+ file = itFile = new IT::File(stream); -+ else if (strExtension == "mod" || strExtension == "module" || strExtension == "nst" || strExtension == "wow") -+ file = modFile = new Mod::File(stream); -+ else if (strExtension == "mp4" || strExtension == "m4a" || -+ strExtension == "m4r" || strExtension == "m4b" || -+ strExtension == "m4p" || strExtension == "3g2") -+ file = mp4File = new MP4::File(stream); -+ else if (strExtension == "mpc") -+ file = mpcFile = new MPC::File(stream); -+ else if (strExtension == "mp3" || strExtension == "aac") -+ file = mpegFile = new MPEG::File(stream, ID3v2::FrameFactory::instance()); -+ else if (strExtension == "s3m") -+ file = s3mFile = new S3M::File(stream); -+ else if (strExtension == "tta") -+ file = ttaFile = new TrueAudio::File(stream, ID3v2::FrameFactory::instance()); -+ else if (strExtension == "wv") -+ file = wvFile = new WavPack::File(stream); -+ else if (strExtension == "aif" || strExtension == "aiff") -+ file = aiffFile = new RIFF::AIFF::File(stream); -+ else if (strExtension == "wav") -+ file = wavFile = new RIFF::WAV::File(stream); -+ else if (strExtension == "xm") -+ file = xmFile = new XM::File(stream); -+ else if (strExtension == "ogg") - file = oggVorbisFile = new Ogg::Vorbis::File(stream); -+ else if (strExtension == "oga") // Leave this madness until last - oga container can have Vorbis or FLAC -+ { -+ file = oggFlacFile = new Ogg::FLAC::File(stream); -+ if (!file || !file->isValid()) -+ { -+ delete file; -+ oggFlacFile = NULL; -+ file = oggVorbisFile = new Ogg::Vorbis::File(stream); -+ } - } - } -+ catch (const std::exception& ex) -+ { -+ CLog::Log(LOGERROR, "Taglib exception: %s", ex.what()); -+ } - - if (!file || !file->isOpen()) - { |