Skip to content

"Mid mismatch" warning with p1_03.j2k #15

@osamu620

Description

@osamu620

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions