Skip to content

Commit

Permalink
read.c: Remove diagnostic message
Browse files Browse the repository at this point in the history
`avifImageScaleWithLimit` already updates the diagnostic message
on failure. So there is no need to over-write it with a less
informative message in the caller.
  • Loading branch information
vigneshvg committed Oct 9, 2023
1 parent 58c690e commit 7c639ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/read.c
Original file line number Diff line number Diff line change
Expand Up @@ -5004,7 +5004,6 @@ static avifResult avifDecoderDecodeTiles(avifDecoder * decoder, uint32_t nextIma
decoder->imageSizeLimit,
decoder->imageDimensionLimit,
&decoder->diag) != AVIF_RESULT_OK) {
avifDiagnosticsPrintf(&decoder->diag, "avifImageScaleWithLimit() failed");
return avifGetErrorForItemCategory(tile->input->itemCategory);
}
}
Expand Down

0 comments on commit 7c639ad

Please sign in to comment.