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

"Mid mismatch" warning with p1_03.j2k #15

Open
osamu620 opened this issue Nov 9, 2024 · 1 comment
Open

"Mid mismatch" warning with p1_03.j2k #15

osamu620 opened this issue Nov 9, 2024 · 1 comment

Comments

@osamu620
Copy link
Collaborator

osamu620 commented Nov 9, 2024

Decoding p1_03.j2k (a test codestream defined in the ISO/IEC 15444-4) shows the following warning:

[jpeg2000 @ 0x12d7079a0] Mid mismatch 1 in pass 18 of 22

This message comes from the lines:

if (FFABS(cblk->data + cblk->data_start[term_cnt + 1] - 2 - t1->mqc.bp) > 0) {
av_log(s->avctx, AV_LOG_WARNING, "Mid mismatch %"PTRDIFF_SPECIFIER" in pass %d of %d\n",
cblk->data + cblk->data_start[term_cnt + 1] - 2 - t1->mqc.bp,
pass_cnt, cblk->npasses);
}

The cause of the warning should be investigated to suppress the warning.

@palemieux
Copy link
Contributor

https://trac.ffmpeg.org/ticket/11295#ticket

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

No branches or pull requests

2 participants