mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-09 09:58:57 +00:00
[mp3] Return 0 for incomplete ID3 header size
This commit is contained in:
@@ -918,6 +918,9 @@ ID3Parser::ID3Header::Flags() const {
|
||||
|
||||
uint32_t
|
||||
ID3Parser::ID3Header::Size() const {
|
||||
if (!IsValid()) {
|
||||
return 0;
|
||||
}
|
||||
return mSize;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user