mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-23 11:14:48 +02:00
Removes checking for mdat box before meta box. (#585)
This commit is contained in:
parent
a89803dfe5
commit
83c4ef1ea8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user