8000 Fix issue #47 by keif888 · Pull Request #60 · go4org/go4 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix issue #47 #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Fix issue #47 #60

wants to merge 5 commits into from

Conversation

keif888
Copy link
@keif888 keif888 commented Jan 17, 2025

This pull addresses issue #47 and issue #48.
It adds a new test TestExiftool which uses an image that has it's metadata copied via exiftool, which uses a base offset of 4.
It corrects the parseItemLocationBox function to use the base offset size to read either 4 or 8 bytes as required based on the inbound base offset.

Add full Version 2 compliance for parseItemLocationBox
Copy link
@puellanivis puellanivis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I don’t see anything immediately objectionable. I think technically upgrading a uint16 field to uint32 could technically be a breaking change in some cases, but the fields should probably be expanded regardless, and it should be easy enough for people to cast or change casts where they show up. (That is: there’s no better way to do this, and the cost to users of the API is as minimal as it could be.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0