Skip to content
Permalink
Browse files Browse the repository at this point in the history
more room for ljpeg row
  • Loading branch information
alextutubalin committed Apr 8, 2020
1 parent 5ab45b0 commit a6937d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decoders/decoders_dcraw.cpp
Expand Up @@ -344,7 +344,7 @@ int LibRaw::ljpeg_start(struct jhead *jh, int info_only)
FORC(4) jh->huff[2 + c] = jh->huff[1];
FORC(jh->sraw) jh->huff[1 + c] = jh->huff[0];
}
jh->row = (ushort *)calloc(jh->wide * jh->clrs, 4);
jh->row = (ushort *)calloc(jh->wide * jh->clrs, 16);
merror(jh->row, "ljpeg_start()");
return zero_after_ff = 1;
}
Expand Down

0 comments on commit a6937d4

Please sign in to comment.