diff options
author | Sean Fox <dyntryx@gmail.com> | 2009-01-03 07:01:10 +0000 |
---|---|---|
committer | Sean Fox <dyntryx@gmail.com> | 2009-01-03 07:01:10 +0000 |
commit | 2247ced70842f51bdd90577b6a9e20b465674e46 (patch) | |
tree | ff139b44a9d1f55504c7c805c26cb0fae14d5adb /libnsgif.h | |
parent | a49d9b5869e27596e5fcc2957ec3ce7de7800045 (diff) | |
download | libnsgif-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |