X-Git-Url: https://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/e58493762dbd70870b7bdc1fd9fc922485c91c2c..2b32a2f8d9ab7bdc899bb04cac6fb73101400481:/src/image.c diff --git a/src/image.c b/src/image.c index 8538520..27c8273 100644 --- a/src/image.c +++ b/src/image.c @@ -400,22 +400,6 @@ readerr: return -1; } -void lbx_img_getinfo(struct lbx_image *pub, struct lbx_imginfo *info) -{ - struct lbx_image_priv *img = (struct lbx_image_priv *)pub; - - *info = (struct lbx_imginfo) { 0 }; - - /* There seems to be two ways of specifying that an image loops. */ - if (img->flags & FLAG_LOOPING) { - info->loopstart = 0; - info->looping = 1; - } else if (img->pub.leadin != pub->frames - 1) { - info->loopstart = img->pub.leadin; - info->looping = 1; - } -} - int lbx_img_close(struct lbx_image *pub) { struct lbx_image_priv *img = (struct lbx_image_priv *)pub;