shithub: riscv

Download patch

ref: 76918f348fbe29f0fc3a997106c644470023532e
parent: b1fd0dd118945a2acebe05805964b506d4ab44e3
author: cinap_lenrek <[email protected]>
date: Tue Jan 10 18:42:18 EST 2012

gif: handle image dispostion mode (to be defined) 4-7 like 0,1

--- a/sys/src/cmd/jpg/gif.c
+++ b/sys/src/cmd/jpg/gif.c
@@ -350,8 +350,7 @@
 				goto Return;
 			}
 			switch((images[k]->gifflags>>2)&7){
-			case 0:
-			case 1:
+			default:
 				draw(tmp, img->r, img, msk, img->r.min);
 				draw(dst, tmp->r, tmp, nil, tmp->r.min);
 				break;