ok
This commit is contained in:
parent
8a73d2cd4b
commit
3bff63163c
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ unsigned char* id3_findimage(const char* path, size_t* size) {
|
|||
unsigned char* buffer = MDEID3GetTag(path, "APIC", &fsz);
|
||||
unsigned char* d = NULL;
|
||||
int i;
|
||||
if(buffer == NULL) return NULL;
|
||||
for(i = 1; i < fsz; i++) {
|
||||
if(buffer[i] == 0) break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue