Push std/png decoder.tell_me_more goto_done later

This commit is contained in:
Nigel Tao committed 2021-11-26 19:46:36 +11:00
1 parent 5d1473a2ca
commit 38b101d170
2 files changed
+89 -89

No files matched your search

+2 -2
View File
@@ -1596,8 +1596,6 @@ pub func decoder.tell_me_more?(dst: base.io_writer, minfo: nptr base.more_inform
} endwhile
}
} endwhile.loop
break.goto_done
}} endwhile.goto_done
// Key-value pairs come in... pairs.
if this.metadata_fourcc == 'KVPK'be {
@@ -1654,6 +1652,8 @@ pub func decoder.tell_me_more?(dst: base.io_writer, minfo: nptr base.more_inform
this.call_sequence = 2
return ok
}
break.goto_done
}} endwhile.goto_done
if this.chunk_length <> 0 {
return "#bad chunk"