package com.bumptech.glide.load.resource.transcode; import com.bumptech.glide.load.Options; import com.bumptech.glide.load.engine.Resource; import com.bumptech.glide.load.resource.bytes.BytesResource; import com.bumptech.glide.load.resource.gif.GifDrawable; import com.bumptech.glide.util.ByteBufferUtil; /* loaded from: classes.dex */ public class GifDrawableBytesTranscoder implements ResourceTranscoder { @Override // com.bumptech.glide.load.resource.transcode.ResourceTranscoder public Resource a(Resource resource, Options options) { return new BytesResource(ByteBufferUtil.b(resource.get().b())); } }