diff --git a/source/blender/imbuf/intern/format_iris.cc b/source/blender/imbuf/intern/format_iris.cc index 3cd63afe647..f55d474f916 100644 --- a/source/blender/imbuf/intern/format_iris.cc +++ b/source/blender/imbuf/intern/format_iris.cc @@ -293,7 +293,7 @@ ImBuf *imb_loadiris(const uchar *mem, size_t size, int flags, ImFileColorSpace & } \ ((void)0) - MFILE_CAPACITY_AT_PTR_OK_OR_FAIL(MFILE_DATA(inf) + ((4 * 2) * tablen)); + MFILE_CAPACITY_AT_PTR_OK_OR_FAIL(MFILE_DATA(inf) + (2 * tablen)); readtab(inf, starttab, tablen); readtab(inf, lengthtab, tablen);