Skip to content

Commit

Permalink
Fixed #2704
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Dec 20, 2023
1 parent 8ecc95c commit 613c833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filters/dec_uncv.c
Expand Up @@ -1181,7 +1181,7 @@ static void uncv_start_frame(UNCVDecCtx *ctx, const u8 *data, u32 size)
{
UNCVConfig *config = ctx->cfg;

if (ctx->nb_bsrs>1) {
if ((ctx->nb_bsrs>1) || (ctx->cfg->nb_comps==1)) {
u32 offset = 0;
u32 comp_row_size=0;
for (u32 i=0; i<config->nb_comps; i++) {
Expand Down

0 comments on commit 613c833

Please sign in to comment.