Commit 40923e15 authored by Michael Niedermayer's avatar Michael Niedermayer

j2kenc: Update ff_j2k_init_component() arguments

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2f16b6a5
...@@ -377,7 +377,7 @@ static int init_tiles(J2kEncoderContext *s) ...@@ -377,7 +377,7 @@ static int init_tiles(J2kEncoderContext *s)
for (j = 0; j < 2; j++) for (j = 0; j < 2; j++)
comp->coord[i][j] = ff_j2k_ceildivpow2(comp->coord[i][j], s->chroma_shift[i]); comp->coord[i][j] = ff_j2k_ceildivpow2(comp->coord[i][j], s->chroma_shift[i]);
if (ret = ff_j2k_init_component(comp, codsty, qntsty, s->cbps[compno])) if (ret = ff_j2k_init_component(comp, codsty, qntsty, s->cbps[compno], compno?1<<s->chroma_shift[0]:1, compno?1<<s->chroma_shift[1]:1))
return ret; return ret;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment