X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=driver.c;h=0834df763d2124f9268c441b9e2f2074d97815c3;hb=932bd7d9a70e5709e226c0c5f0d8134c0e2db0aa;hp=20d64f2cd0c9c062e775fb0c66aad4dd6be4b797;hpb=90cfe68276c3639bb340956754dd726284f7b822;p=fjl diff --git a/driver.c b/driver.c index 20d64f2..0834df7 100644 --- a/driver.c +++ b/driver.c @@ -62,8 +62,8 @@ void read_sof(struct byte_source* source, struct jpeg_image* image) assert(len >= 8); image->precision = read_uint8(byte_source_input_func, source); assert(image->precision == 8); - image->width = read_uint16(byte_source_input_func, source); image->height = read_uint16(byte_source_input_func, source); + image->width = read_uint16(byte_source_input_func, source); image->num_components = read_uint8(byte_source_input_func, source); len -= 8;