mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
demux: remove dead fragment related TODO
Change-Id: Iea6bf4742f803af46cd18f5d26843548e1b5cf00
This commit is contained in:
parent
ab714b8ac4
commit
d3cfb79ad6
@ -563,8 +563,6 @@ static int IsValidSimpleFormat(const WebPDemuxer* const dmux) {
|
|||||||
|
|
||||||
// If 'exact' is true, check that the image resolution matches the canvas.
|
// If 'exact' is true, check that the image resolution matches the canvas.
|
||||||
// If 'exact' is false, check that the x/y offsets do not exceed the canvas.
|
// If 'exact' is false, check that the x/y offsets do not exceed the canvas.
|
||||||
// TODO(jzern): this is insufficient in the fragmented image case if the
|
|
||||||
// expectation is that the fragments completely cover the canvas.
|
|
||||||
static int CheckFrameBounds(const Frame* const frame, int exact,
|
static int CheckFrameBounds(const Frame* const frame, int exact,
|
||||||
int canvas_width, int canvas_height) {
|
int canvas_width, int canvas_height) {
|
||||||
if (exact) {
|
if (exact) {
|
||||||
|
Loading…
Reference in New Issue
Block a user