1
0
Эх сурвалжийг харах

Removes checking for mdat box before meta box. (#585)

Joshua Banton 4 жил өмнө
parent
commit
83c4ef1ea8
1 өөрчлөгдсөн 0 нэмэгдсэн , 2 устгасан
  1. 0 2
      imagemeta/heif.go

+ 0 - 2
imagemeta/heif.go

@@ -210,8 +210,6 @@ func heifReadBoxes(d *heifData, r io.Reader) error {
 			if w > d.Width || h > d.Height {
 				d.Width, d.Height = w, h
 			}
-		case "mdat":
-			return errors.New("mdat box occurred before meta box")
 		default:
 			if err := heifDiscardN(r, boxDataSize); err != nil {
 				return err