Skip to content

Commit

Permalink
Reduce imageSizeLimit for SharpYUV in fuzzreadimg (AOMediaCodec#1989)
Browse files Browse the repository at this point in the history
  • Loading branch information
y-guyon authored Feb 2, 2024
1 parent 850d498 commit a14909a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gtest/avif_fuzztest_read_image.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void ReadImageFile(const std::string& arbitrary_bytes,
const uint32_t imageSizeLimit =
(chroma_downsampling == AVIF_CHROMA_DOWNSAMPLING_SHARP_YUV &&
requested_format == AVIF_PIXEL_FORMAT_YUV420)
? kImageSizeLimit / 4
? kImageSizeLimit / 8
: kImageSizeLimit;

const avifAppFileFormat file_format = avifReadImage(
Expand Down

0 comments on commit a14909a

Please sign in to comment.