commit | f0a91c6e28fb3e230fef99e42ba440b7d57711c1 | [log] [tgz] |
---|---|---|
author | Joe Drago <jdrago@netflix.com> | Thu Apr 30 18:53:46 2020 -0700 |
committer | Joe Drago <jdrago@netflix.com> | Thu Apr 30 18:57:14 2020 -0700 |
tree | c15f23f1e4788b7951676484beb4d2ad1a213b49 | |
parent | 107e7b95074fcd05a293c73b2d49f7cdf10a9c5d [diff] |
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; }