public synchronized GifDecoder obtain(GifDecoder.BitmapProvider bitmapProvider) {
            GifDecoder result = pool.poll();
            if (result == null) {
                result = new GifDecoder(bitmapProvider);
            }
            return result;
        }
An {@link ResourceDecoder} that decodes
{@link GifDrawable} from {@link InputStream} data.
core/src/main/java/com/bumptech/glide/load/resource/gif/GifResourceDecoder.java