Skip to content

Commit 3d4aff4

Browse files
committed
Merge pull request #433 from lucienfostier/debugJPG
Debug jpg
2 parents cf4f98c + 657e881 commit 3d4aff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IECore/JPEGImageReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ bool JPEGImageReader::canRead( const string &fileName )
9595
in.seekg(0, ios_base::beg);
9696
in.read((char *) &magic, sizeof(unsigned int));
9797

98-
return magic == 0xe0ffd8ff || magic == 0xffd8ffe0 || magic == 0xe1ffd8ff || magic == 0xffd8ffe1 ;
98+
return magic == 0xe0ffd8ff || magic == 0xffd8ffe0 || magic == 0xe1ffd8ff || magic == 0xffd8ffe1 || magic == 0xdbffd8ff;
9999
}
100100

101101
void JPEGImageReader::channelNames( vector<string> &names )

0 commit comments

Comments
 (0)