diff options
Diffstat (limited to 'src/images/SkMovie_gif.cpp')
-rw-r--r-- | src/images/SkMovie_gif.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/images/SkMovie_gif.cpp b/src/images/SkMovie_gif.cpp index 9cebc0fc8b..cda152519f 100644 --- a/src/images/SkMovie_gif.cpp +++ b/src/images/SkMovie_gif.cpp @@ -40,7 +40,11 @@ static int Decode(GifFileType* fileType, GifByteType* out, int size) { SkGIFMovie::SkGIFMovie(SkStream* stream) { +#if GIFLIB_MAJOR < 5 fGIF = DGifOpen( stream, Decode ); +#else + fGIF = DGifOpen( stream, Decode, NULL ); +#endif if (NULL == fGIF) return; |