Menu

#84 DGifSlurp returns error return code

v1.0_(example)
closed
nobody
None
1
2016-03-16
2016-03-03
dgs
No

DGifSlurp returns error return code. Always right after successful open/close sequence. Is DGifClose() not closing something?

Attached is a sample project with Makefile included. Runs with 5.1.2

1 Attachments

Discussion

  • Mike Sharov

    Mike Sharov - 2016-03-05

    I am also experiencing this issue in my project https://github.com/msharov/gleri . GIF loading code is in gotex.cc, can be tested using the included tutorial rgliv image viewer program to view a directory with several GIF files.

    Loading a GIF file works the first time, but when a second GIF file is read (even if it is the same file as the first), DGifSlurp always fails.

    The problem goes away after downgrading the library from 5.1.2 to 5.1.1.

     
  • Stefan Ehmann

    Stefan Ehmann - 2016-03-06

    konqueror is also having problems after the update to 5.1.2.

    There is a problem in one of the added sanity checks.

    RunningBits seems to be checked before it is initialized. I removed the check. It is redundant because RunningBits is initialized to BitsPerPixel + 1. BitsPerPixel is <= 8 so RunningBits cannot be > 32 anyway.

     

    Last edit: Stefan Ehmann 2016-03-06
  • Eric S. Raymond

    Eric S. Raymond - 2016-03-15

    I believe this is now fixed in the repository tip version. Please test and let me know so I can ship an uipdate.

     
    • Mike Sharov

      Mike Sharov - 2016-03-15

      Works for me with the repository tip.

       
  • Stefan Ehmann

    Stefan Ehmann - 2016-03-16

    Yes, the current version of dgif_lib.c is also working.

     
  • Eric S. Raymond

    Eric S. Raymond - 2016-03-16

    Thanks, I'll close this and prepare to ship the fix.

     
  • Eric S. Raymond

    Eric S. Raymond - 2016-03-16
    • status: open --> closed
     
  • dgs

    dgs - 2016-08-20

    Dear friend!

    Have you seen that nice stuff already? You'lllove that for sure, take a look http://siphychowo.fusion94.org/lnmjosp

    Best regards, Christianbook.com

     
  • dgs

    dgs - 2016-08-25

    Hello friend,
    I've got a good news for you, you'lllike it for sure, read it here please http://fultatufe.capemofo.com/lnxzwo

    All the best, gphoto-devel@lists.sf.net

     
  • dgs

    dgs - 2016-09-16

    Hello friend,

    I saw you last achievements, and I think you need to keep up the good work! Here is some helpful information for you http://trendechoge.mysignspinner.com/lnpry

    Wishes, nancygrant65@comcast.net

     

Log in to post a comment.

MongoDB Logo MongoDB