Changeset 10940
- Timestamp:
- 01/11/10 17:03:13 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/jp2/ReaderWriterJP2.cpp
r10939 r10940 177 177 supportsExtension("jp2","Jpeg2000 image format"); 178 178 supportsExtension("jpc","Jpeg2000 image format"); 179 179 180 180 // little dance here to get around warnings created by jas_image_strtofmt use of char* rather than const char* 181 181 // as a parameted and modern compilers deprecating "jp2" string being treated as char*. … … 187 187 } 188 188 189 ~ReaderWriterJP2() 190 { 191 jas_cleanup(); 192 } 193 189 194 virtual const char* className() const { return "RGB Image Reader/Writer"; } 190 195 191 196 virtual ReadResult readObject(const std::string& file, const osgDB::ReaderWriter::Options* options) const 192 197 {
