Skip to content
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

Support DQT markers after SOF marker in jpegli decoder. #3503

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

szabadka
Copy link
Contributor

Fix suggested by @DCNick3

Fixes #3486

@szabadka szabadka requested a review from mo271 April 18, 2024 08:27
@jonsneyers
Copy link
Member

What happens if the DQT marker is missing? Before, that error was caught too early (it would also trigger if the DQT marker was just later than SOF), but isn't it now not caught at all?

@szabadka
Copy link
Contributor Author

What happens if the DQT marker is missing? Before, that error was caught too early (it would also trigger if the DQT marker was just later than SOF), but isn't it now not caught at all?

It is caught in PrepareForScan(), which is called from jpegli_start_decompress(). Do you think it is a problem that it is not caught in jpegli_read_header() ?

@jonsneyers
Copy link
Member

It is fine as long as it is caught somewhere.

@jonsneyers jonsneyers added this pull request to the merge queue Apr 18, 2024
Merged via the queue into libjxl:main with commit 8928c7a Apr 18, 2024
100 checks passed
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.

Quantization table with index 0 not found
2 participants