Changeset 13465

Show
Ignore:
Timestamp:
03/02/15 13:11:43 (less than one hour ago)
Author:
robert
Message:

From Johannes Scholz, "Attached you find a patch for osgDB::OutputStream? and osgDB::InputStream? to include osg::Image::data() using Base64 encoding inside the ASCII OSGT, if WriteImageHint?=IncludeData? is set, only."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/gif/ReaderWriterGIF.cpp

    r13041 r13465  
    370370    int interlacedoffset[] = { 0, 4, 2, 1 }; 
    371371    int interlacedjumps[] = { 8, 8, 4, 2 }; 
    372  
     372#if (GIFLIB_MAJOR >= 5) 
     373    int Error; 
     374    giffile = DGifOpen(&fin,gif_read_stream, &Error); 
     375#else 
    373376    giffile = DGifOpen(&fin,gif_read_stream); 
     377#endif 
    374378    if (!giffile) 
    375379    {