Remove now-extraneous check on sample table offset r:wantehchang
diff --git a/src/read.c b/src/read.c index f258846..e314407 100644 --- a/src/read.c +++ b/src/read.c
@@ -341,9 +341,6 @@ sample->data.size = sampleSize; sample->sync = AVIF_FALSE; // to potentially be set to true following the outer loop - if (sampleOffset > (uint64_t)rawInput->size) { - return AVIF_FALSE; - } if ((sampleOffset + sampleSize) > (uint64_t)rawInput->size) { return AVIF_FALSE; }