Patch gd_gif_out.c.patch for GD related Bug #79615
Patch version 2020-05-20 13:32 UTC
Return to Bug #79615 |
Download this patch
Patch Revisions:
Developer: sageptr@gmail.com
ext/gd/libgd/gd_gif_out.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ext/gd/libgd/gd_gif_out.c b/ext/gd/libgd/gd_gif_out.c
index 912769128b..e721992b48 100644
--- a/ext/gd/libgd/gd_gif_out.c
+++ b/ext/gd/libgd/gd_gif_out.c
@@ -333,7 +333,7 @@ GIFEncode(gdIOCtxPtr fp, int GWidth, int GHeight, int GInterlace, int Background
/*
* OR in the resolution
*/
- B |= (Resolution - 1) << 5;
+ B |= (Resolution - 1) << 4;
/*
* OR in the Bits per Pixel
|