summaryrefslogtreecommitdiff
path: root/spamprobe/spamprobe-1.4d-giflib5.patch
blob: 234bd59015560ec3c8936aebeef90b73a5b1e668 (plain)
    1 --- src/parser/GifParser.cc	2006-11-17 08:24:49.000000000 +0100
    2 +++ src/parser/GifParser.cc	2014-07-31 09:23:19.372474921 +0200
    3 @@ -81,7 +81,7 @@
    4  GifParser::~GifParser()
    5  {
    6    if (m_gif) {
    7 -    DGifCloseFile(m_gif);
    8 +    DGifCloseFile(m_gif, NULL);
    9    }
   10  }
   11  
   12 @@ -99,7 +99,7 @@
   13  void GifParser::openImage()
   14  {
   15    m_nextByteIndex = 0;
   16 -  m_gif = DGifOpen(this, readFromBuffer);
   17 +  m_gif = DGifOpen(this, readFromBuffer, NULL);
   18    if (!m_gif) {
   19      throw runtime_error("open gif failed");
   20    }

Generated by cgit