summaryrefslogtreecommitdiff
path: root/libnsgif.h
diff options
context:
space:
mode:
authorSean Fox <dyntryx@gmail.com>2009-01-03 07:01:10 +0000
committerSean Fox <dyntryx@gmail.com>2009-01-03 07:01:10 +0000
commit2247ced70842f51bdd90577b6a9e20b465674e46 (patch)
treeff139b44a9d1f55504c7c805c26cb0fae14d5adb /libnsgif.h
parenta49d9b5869e27596e5fcc2957ec3ce7de7800045 (diff)
downloadlibnsgif-2247ced70842f51bdd90577b6a9e20b465674e46.tar.gz
libnsgif-2247ced70842f51bdd90577b6a9e20b465674e46.tar.bz2
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
Diffstat (limited to 'libnsgif.h')
-rw-r--r--libnsgif.h3
1 files changed, 2 insertions, 1 deletions
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