Apparently a web browser or an upload script remove the comments from gif files....
Please try this file. The comment says: Optimized by Ulead SmartSaver!
I'm not assigning values to these variables. Are there any other variables/structures...
gif->SHeight and gif->SWidth are 0 for this file, and you have to check gif->SavedImages[0].ImageDesc.Height...
GIFLIB 5.1.4 : DGifSlurp does not extract a comment extension stored in a last frame.
GIFLIB 5.1.4 cannot read this file