mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Bug 1267887 - Document MP4AudioInfo::IsValid(). r=jya
Jean-Yves and I both found this logic confusing. MozReview-Commit-ID: C5phemRPDQZ
This commit is contained in:
1 parent
94e09e7b34
commit
17441712ca
1 file changed
+1
@@ -156,6 +156,7 @@ bool
|
||||
MP4AudioInfo::IsValid() const
|
||||
{
|
||||
return mChannels > 0 && mRate > 0 &&
|
||||
// Accept any mime type here, but if it's aac, validate the profile.
|
||||
(!mMimeType.Equals(MEDIA_MIMETYPE_AUDIO_AAC) ||
|
||||
mProfile > 0 || mExtendedProfile > 0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user