diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2020-07-06 16:24:58 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2020-07-06 16:24:58 +0100 |
commit | e5802bc82dd3b85eec48437c44a299457f6b3b3c (patch) | |
tree | 4d29c9f5c405dde6bd72642c6c74c2fe53edab43 | |
parent | 8442a27c2bb8df48029ceea6e64c4930106a57fc (diff) | |
download | libnsgif-e5802bc82dd3b85eec48437c44a299457f6b3b3c.tar.gz libnsgif-e5802bc82dd3b85eec48437c44a299457f6b3b3c.tar.bz2 |
Fix allocation size comparison in previous frame recorder.
-rw-r--r-- | src/libnsgif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnsgif.c b/src/libnsgif.c index 95bbbfb..479d161 100644 --- a/src/libnsgif.c +++ b/src/libnsgif.c @@ -589,7 +589,7 @@ static void gif__record_previous_frame(gif_animation *gif) } if (gif->prev_frame != NULL && - gif->width * gif->height < gif->prev_width * gif->prev_height) { + gif->width * gif->height > gif->prev_width * gif->prev_height) { need_alloc = true; } |