Internal function used to check if the HEADER is a valid .Jpg header.
| 79 | |
| 80 | // Internal function used to check if the HEADER is a valid .Jpg header. |
| 81 | ILboolean iCheckJpg(ILubyte Header[2]) |
| 82 | { |
| 83 | if (Header[0] != 0xFF || Header[1] != 0xD8) |
| 84 | return IL_FALSE; |
| 85 | return IL_TRUE; |
| 86 | } |
| 87 | |
| 88 | |
| 89 | // Internal function to get the header and check it. |