Skip to content

Commit

Permalink
Fix condition for object_cropped_flag in kaitai structure file
Browse files Browse the repository at this point in the history
  • Loading branch information
YourMJK committed Feb 25, 2024
1 parent 22c1950 commit 249d42a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sup-parser.ksy
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,16 @@ types:
type: u2
- id: obj_crop_hor_pos
type: u2
if: object_cropped_flag == 0x40
if: object_cropped_flag & 0x80 != 0
- id: obj_crop_ver_pos
type: u2
if: object_cropped_flag == 0x40
if: object_cropped_flag & 0x80 != 0
- id: obj_crop_width
type: u2
if: object_cropped_flag == 0x40
if: object_cropped_flag & 0x80 != 0
- id: obj_crop_height
type: u2
if: object_cropped_flag == 0x40
if: object_cropped_flag & 0x80 != 0

windows_object_type:
seq:
Expand Down

0 comments on commit 249d42a

Please sign in to comment.