mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-09-02 06:23:23 +02:00
j2kenc: Update ff_j2k_init_component() arguments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2f16b6a525
commit
40923e1567
@ -377,7 +377,7 @@ static int init_tiles(J2kEncoderContext *s)
|
||||
for (j = 0; j < 2; j++)
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user