Skip to content

Commit

Permalink
ISOSegmentValidator: remove error saying that 'isom' can only be comp…
Browse files Browse the repository at this point in the history
…atible brand. I couldn't find any reference for it. (#665)
  • Loading branch information
rbouqueau authored May 30, 2023
1 parent 22b5793 commit dfec07d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ISOSegmentValidator/public/src/ValidateAtomList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1230,10 +1230,6 @@ OSErr Validate_ftyp_Atom( atomOffsetEntry *aoe, void *refcon )
int64toxstr((UInt64) version));

vg.majorBrand = majorBrand;
if( majorBrand == brandtype_isom ) {
// the isom can only be a compatible brand
errprint("The brand 'isom' can only be a compatible, not major, brand\n");
}

if(vg.cmaf){
if((majorBrand=='cmfc' || majorBrand=='cmf2') && version != 0)
Expand Down Expand Up @@ -1325,10 +1321,6 @@ OSErr Validate_styp_Atom( atomOffsetEntry *aoe, void *refcon )
int64toxstr((UInt64) version));

vg.majorBrand = majorBrand;
if( majorBrand == brandtype_isom ) {
// the isom can only be a compatible brand
errprint("The brand 'isom' can only be a compatible, not major, brand\n");
}

compatBrandListSize = (UInt32)(aoe->size - 8 - aoe->atomStartSize);
numCompatibleBrands = compatBrandListSize / sizeof(OSType);
Expand Down

0 comments on commit dfec07d

Please sign in to comment.