- Timestamp:
- 01/11/10 15:28:33 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/jp2/ReaderWriterJP2.cpp
r8578 r10939 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*. 182 jas_init();//jas_image_strtofmt() bound to return -1 if jas_init has not been called. 182 183 char* jp2 = strdup("jp2"); 183 184 _fmt_jp2 = jas_image_strtofmt(jp2); 184 185 free(jp2); 186 jas_image_clearfmts(); 185 187 } 186 188
