Reorder decode_frame args

This commit is contained in:
Nigel Tao committed 2018-07-22 17:27:29 +10:00
1 parent adba763a02
commit 951d79fa00
5 files changed
+29 -29

No files matched your search

+1 -1
View File
@@ -232,7 +232,7 @@ pri func decoder.skip_frame?(src base.io_reader)() {
}
// TODO: honor pixbuf_origin_x and pixbuf_origin_y args.
pub func decoder.decode_frame?(dst ptr base.pixel_buffer, src base.io_reader, work_buffer slice base.u8, pixbuf_origin_x base.u32, pixbuf_origin_y base.u32)() {
pub func decoder.decode_frame?(dst ptr base.pixel_buffer, pixbuf_origin_x base.u32, pixbuf_origin_y base.u32, src base.io_reader, work_buffer slice base.u8)() {
if this.call_sequence != 2 {
this.decode_frame_config?(dst:nullptr, src:in.src)
}