Gitweb links:

...log 
http://git.netsurf-browser.org/libnsgif.git/shortlog/e5802bc82dd3b85eec48437c44a299457f6b3b3c
...commit 
http://git.netsurf-browser.org/libnsgif.git/commit/e5802bc82dd3b85eec48437c44a299457f6b3b3c
...tree 
http://git.netsurf-browser.org/libnsgif.git/tree/e5802bc82dd3b85eec48437c44a299457f6b3b3c

The branch, master has been updated
       via  e5802bc82dd3b85eec48437c44a299457f6b3b3c (commit)
      from  8442a27c2bb8df48029ceea6e64c4930106a57fc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/libnsgif.git/commit/?id=e5802bc82dd3b85eec48437c44a299457f6b3b3c
commit e5802bc82dd3b85eec48437c44a299457f6b3b3c
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    Fix allocation size comparison in previous frame recorder.

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;
         }
 


-----------------------------------------------------------------------

Summary of changes:
 src/libnsgif.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
         }
 


-- 
NetSurf GIF Decoder
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to