Allow uuid to be a valid top level box
Change-Id: Iec241781321a30fa8eece6a7fc6674d78a02c90f
This commit is contained in:
parent
579678d6a6
commit
bd1328500c
|
@ -963,6 +963,7 @@ static bool CheckMov(const uint8_t* buffer, int buffer_size) {
|
|||
switch (atomtype) {
|
||||
case TAG('f','t','y','p'):
|
||||
case TAG('p','d','i','n'):
|
||||
case TAG('b','l','o','c'):
|
||||
case TAG('m','o','o','v'):
|
||||
case TAG('m','o','o','f'):
|
||||
case TAG('m','f','r','a'):
|
||||
|
@ -975,7 +976,7 @@ static bool CheckMov(const uint8_t* buffer, int buffer_size) {
|
|||
case TAG('s','i','d','x'):
|
||||
case TAG('s','s','i','x'):
|
||||
case TAG('p','r','f','t'):
|
||||
case TAG('b','l','o','c'):
|
||||
case TAG('u','u','i','d'):
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
|
|
|
@ -92,6 +92,7 @@ bool BoxReader::IsValidTopLevelBox(const FourCC& type) {
|
|||
case FOURCC_sidx:
|
||||
case FOURCC_ssix:
|
||||
case FOURCC_prft:
|
||||
case FOURCC_uuid:
|
||||
return true;
|
||||
default:
|
||||
// Hex is used to show nonprintable characters and aid in debugging
|
||||
|
|
Loading…
Reference in New Issue