Internal function used to check if the HEADER is a valid MP3 header.
| 124 | |
| 125 | // Internal function used to check if the HEADER is a valid MP3 header. |
| 126 | ILboolean iCheckMp3(MP3HEAD *Header) |
| 127 | { |
| 128 | if (strncmp(Header->Signature, "ID3", 3)) |
| 129 | return IL_FALSE; |
| 130 | if (Header->VersionMajor != 3 && Header->VersionMinor != 4) |
| 131 | return IL_FALSE; |
| 132 | |
| 133 | return IL_TRUE; |
| 134 | } |
| 135 | |
| 136 | |
| 137 | ILuint iFindMp3Pic(MP3HEAD *Header) |
no outgoing calls
no test coverage detected