diff --git a/src/osgPlugins/quicktime/ReaderWriterQT.cpp b/src/osgPlugins/quicktime/ReaderWriterQT.cpp index c5691b5e5..20c78d477 100644 --- a/src/osgPlugins/quicktime/ReaderWriterQT.cpp +++ b/src/osgPlugins/quicktime/ReaderWriterQT.cpp @@ -90,8 +90,6 @@ public: supportsExtension("live","Live video streaming"); #ifdef QT_HANDLE_IMAGES_ALSO - supportsExtension("rgb","rgb image format"); - supportsExtension("rgba","rgba image format"); supportsExtension("jpg","jpg image format"); supportsExtension("jpeg","jpeg image format"); supportsExtension("tif","tif image format"); @@ -138,8 +136,6 @@ public: return #ifdef QT_HANDLE_IMAGES_ALSO - osgDB::equalCaseInsensitive(extension,"rgb") || - osgDB::equalCaseInsensitive(extension,"rgba") || osgDB::equalCaseInsensitive(extension,"jpg") || osgDB::equalCaseInsensitive(extension,"jpeg") || osgDB::equalCaseInsensitive(extension,"tif") || @@ -352,9 +348,7 @@ public: extmap.insert(std::pair("gif", kQTFileTypeGIF)); extmap.insert(std::pair("psd", kQTFileTypePhotoShop)); extmap.insert(std::pair("sgi", kQTFileTypeSGIImage)); - extmap.insert(std::pair("rgb", kQTFileTypeSGIImage)); - extmap.insert(std::pair("rgba", kQTFileTypeSGIImage)); - + std::map::iterator cur = extmap.find(ext); // can not handle this type of file, perhaps a movie?