diff options
author | Martijn Kaijser <martijn@xbmc.org> | 2016-01-09 21:03:02 -0800 |
---|---|---|
committer | Martijn Kaijser <martijn@xbmc.org> | 2016-01-09 21:03:02 -0800 |
commit | 10597e3b22e8207a133e25d74651fa7a53bbce13 (patch) | |
tree | 12607c759b1f92879dbeaae5ef513680e3cf57cb | |
parent | 68a37d2da1873b67e37924a74912ab3850fe334f (diff) | |
parent | c93c7e492b2631958bcf25edbbb91f5a3924bde8 (diff) |
Merge pull request #8811 from ace20022/disposal_Jarvis
[gif] Fall back to DISPOSAL_UNSPECIFIED if no valid disposal method i…
-rw-r--r-- | xbmc/guilib/Gif.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xbmc/guilib/Gif.cpp b/xbmc/guilib/Gif.cpp index 1e5792d82d..9f85d4001f 100644 --- a/xbmc/guilib/Gif.cpp +++ b/xbmc/guilib/Gif.cpp @@ -512,8 +512,9 @@ bool Gif::PrepareTemplate(GifFrame &frame) } default: { - CLog::Log(LOGDEBUG, "Gif::PrepareTemplate(): Unknown disposal method: %d", frame.m_disposal); - return false; + CLog::Log(LOGDEBUG, "Gif::PrepareTemplate(): Unknown disposal method: %d. Using DISPOSAL_UNSPECIFIED, the animation might be wrong now.", frame.m_disposal); + frame.m_disposal = DISPOSAL_UNSPECIFIED; + return PrepareTemplate(frame); } } return true; |