diff options
Diffstat (limited to 'content/handlers/image/gif.c')
-rw-r--r-- | content/handlers/image/gif.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/content/handlers/image/gif.c b/content/handlers/image/gif.c index deabd0adc..4671d1df5 100644 --- a/content/handlers/image/gif.c +++ b/content/handlers/image/gif.c @@ -68,9 +68,6 @@ static inline nserror gif__nsgif_error_to_ns(nsgif_error gif_res) nserror err; switch (gif_res) { - case NSGIF_OK: - err = NSERROR_OK; - break; case NSGIF_ERR_OOM: err = NSERROR_NOMEM; break; @@ -233,10 +230,12 @@ static bool gif_convert(struct content *c) /* Initialise the GIF */ gif_err = nsgif_data_scan(gif->gif, size, data); if (gif_err != NSGIF_OK) { - NSLOG(netsurf, DEBUG, "%s", nsgif_strerror(gif_err)); - /* Not fatal unless er have no frames. */ + NSLOG(netsurf, INFO, "nsgif scan: %s", nsgif_strerror(gif_err)); + /* Not fatal unless we have no frames. */ } + nsgif_data_complete(gif->gif); + gif_info = nsgif_get_info(gif->gif); assert(gif_info != NULL); |