[Jahshaka-cvs] openlibraries/src/openimagelib/il utility.cpp, 1.73, 1.74
Status: Beta
Brought to you by:
jahshaka
From: jpn <non...@us...> - 2007-03-15 17:32:46
|
Update of /cvsroot/openlibraries/openlibraries/src/openimagelib/il In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13358/src/openimagelib/il Modified Files: utility.cpp Log Message: Replaced colour space conversion (a8r8g8b8 to b8g8r8a8) removed I presume accidentally, but without it, it was causing jahplayer to crash when loading .mov files into the player. Incorrect colours being displayed, but at least its not crashing. Further investigation required. Index: utility.cpp =================================================================== RCS file: /cvsroot/openlibraries/openlibraries/src/openimagelib/il/utility.cpp,v retrieving revision 1.73 retrieving revision 1.74 diff -u -d -r1.73 -r1.74 --- utility.cpp 15 Mar 2007 13:22:50 -0000 1.73 +++ utility.cpp 15 Mar 2007 17:32:42 -0000 1.74 @@ -2284,6 +2284,8 @@ return rgb_to_rgb( src, dst_pf ); if( dst_pf == L"b8g8r8") return rgb_to_rgb( src, dst_pf ); + if( dst_pf == L"b8g8r8a8" ) + return rgb_to_rgb( src, dst_pf ); } else if( src_pf == L"a8b8g8r8" ) { |