mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
std/handsum: make 1:1 aspect ratio be landscape
This commit is contained in:
1 parent
ff4132b3ca
commit
2822b1a65d
3 files changed
+26
-10
No files matched your search
@@ -51002,7 +51002,10 @@ wuffs_handsum__decoder__do_decode_image_config(
|
||||
goto exit;
|
||||
}
|
||||
self->private_impl.f_quality = ((v_c32 >> 5u) & 3u);
|
||||
if ((v_c32 & 16u) == 0u) {
|
||||
if ((v_c32 & 31u) == 31u) {
|
||||
status = wuffs_base__make_status(wuffs_handsum__error__bad_header);
|
||||
goto exit;
|
||||
} else if ((v_c32 & 16u) == 0u) {
|
||||
self->private_impl.f_width = 16u;
|
||||
self->private_impl.f_height = ((v_c32 & 15u) + 1u);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user