Fixed bug with crashing on some gifs. (the problem was with pairGCD() method)
Merge pull request #13 from yrik04/dev

Fixed bug with crashing on some gifs.