Read GIF's repeat information from file.

This commit is contained in:
Aleksander Nitecki
2013-12-30 23:16:17 +01:00
parent 99dfd14919
commit 078136d217
3 changed files with 26 additions and 3 deletions

View File

@ -43,7 +43,7 @@ static const float zoom_levels[] = {
enum {
GIF_DELAY = 100, /* delay time (in ms) */
GIF_AUTOPLAY = 1, /* autoplay when loaded [0/1] */
GIF_LOOP = 0 /* endless loop [0/1] */
GIF_LOOP = -1 /* endless loop [0 / 1 / -1=as specified in file] */
};
/* gamma correction: the user-visible ranges [-GAMMA_RANGE, 0] and