While porting an application from gif_lib v4 to v5, I noticed a change that I think should be at least documented, and optionally considered for the next API change:
In v4, there were some functions that would return GIF_ERROR (DGifGetExtension, DGifGetLine, ...). As the doc did not state anything about it, it was supposed that calling GifLastError would get more info about the problem.
In v5, the function GifLastError have been removed, but the mentioned function still return only GIF_ERROR, so it is not possible to know more about the problem. Is that the expected behaviour?
Should doc of v4 include a little statement that GifLastError is of no use in these case?
Should API of v5 be updated to have the return value being the actual detailed error code?