diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Gif.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Gif.cpp b/src/Gif.cpp index 7a80f86..c79153c 100644 --- a/src/Gif.cpp +++ b/src/Gif.cpp @@ -169,7 +169,10 @@ namespace dchat u32 i = currentFrame % gif.frame_count; gif_result code = gif_decode_frame(&gif, i); if(code != GIF_OK) + { printf("Warning: gif_decode_frame: %s\n", gifResultToString(code)); + break; + } gif_frame &frame = gif.frames[i]; // frame_delay is in centiseconds |