Add a test for decoding a gif with sampleSize 4.
authorscroggo <scroggo@google.com>
Thu, 14 May 2015 21:44:13 +0000 (14:44 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 14 May 2015 21:44:14 +0000 (14:44 -0700)
commit9d214295e47405019d1494182a5182a92a22f0a6
tree03ced2997834241035afb0b0702f25b54019a1ce
parent87a773c5b197964cb0ae67dc8bb402d7557be6ca
Add a test for decoding a gif with sampleSize 4.

Prior to https://codereview.chromium.org/1085253002/, this would crash.

Only happens with interlaced gif images with an odd height. (Maybe
there are more restrictions?)

Test image provided by zoran.jovanovic@sonymobile.com for checking in.

Add include before includes.

Review URL: https://codereview.chromium.org/1091053002
resources/test640x479.gif [new file with mode: 0644]
tests/GifTest.cpp