]> git.draconx.ca Git - liblbx.git/blobdiff - src/image.c
liblbx: Kill lbx_img_getinfo
[liblbx.git] / src / image.c
index 853852000492e3413cf8e17f851ee6458c0be9e5..27c82734bf853ec56742aefd9dbbe66295fa6ca6 100644 (file)
@@ -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;