Skip to content

Commit

Permalink
AVIF: remove limitation that prevente to read images bigger than 10 MB
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Mar 4, 2025
1 parent 0ff0ab5 commit 25a0338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frmts/avif/avifdataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ GDALAVIFIO::GDALAVIFIO(VSIVirtualHandleUniquePtr fpIn) : fp(std::move(fpIn))
nFileSize = fp->Tell();
fp->Seek(0, SEEK_SET);

io.sizeHint = std::min<uint64_t>(10 * 1024 * 1024, nFileSize);
io.sizeHint = nFileSize;
}

/************************************************************************/
Expand Down

0 comments on commit 25a0338

Please sign in to comment.