enhanced error log for missing boxes
This commit is contained in:
parent
51628fb351
commit
e3693e675f
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ func parseNextBox(reader io.Reader, filePosition uint64) (box interface{}, endPo
|
||||||
box, err = ParseTrackFragmentRunBox(filePosition, boxHeaderSize, boxContentBytes)
|
box, err = ParseTrackFragmentRunBox(filePosition, boxHeaderSize, boxContentBytes)
|
||||||
default:
|
default:
|
||||||
logger.Println("unknown box type", boxType, "at", filePosition)
|
logger.Println("unknown box type", boxType, "at", filePosition)
|
||||||
err = errors.New("unknown box type " + boxType)
|
return nil, filePosition, false, errors.New("unknown box type " + boxType)
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for box errors
|
// check for box errors
|
||||||
|
|
Loading…
Add table
Reference in a new issue