forked from len0rd/rockbox
metadata: aac: Fix any file is treated as valid aac
Fixup for d50470bc
Change-Id: Ie96a636afd3f18e03d70601628c2731cb7314483
This commit is contained in:
parent
1be795c9b1
commit
3f3ec8273a
1 changed files with 5 additions and 0 deletions
|
|
@ -132,6 +132,11 @@ bool get_aac_metadata(int fd, struct mp3entry *entry)
|
|||
}
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
entry->length = (unsigned long)((entry->filesize * 8LL + (entry->bitrate >> 1)) / entry->bitrate);
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue