From 2247ced70842f51bdd90577b6a9e20b465674e46 Mon Sep 17 00:00:00 2001 From: Sean Fox Date: Sat, 3 Jan 2009 07:01:10 +0000 Subject: When a frame claims to exceed the GIF's buffer, libnsgif will now try to recover by rendering the available frame data instead of returning an error and dropping the frame completely. This same concept may be applicable in other libnsgif locations. svn path=/trunk/libnsgif/; revision=5957 --- libnsgif.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libnsgif.h') diff --git a/libnsgif.h b/libnsgif.h index 76207c9..1710601 100644 --- a/libnsgif.h +++ b/libnsgif.h @@ -36,7 +36,8 @@ typedef enum { GIF_INSUFFICIENT_DATA = -3, GIF_DATA_ERROR = -4, GIF_INSUFFICIENT_MEMORY = -5, - GIF_FRAME_NO_DISPLAY = -6 + GIF_FRAME_NO_DISPLAY = -6, + GIF_END_OF_FRAME = -7 } gif_result; /* The GIF frame data -- cgit v1.2.3