From 2f7f945c843c5d88c3fb6772536cce4e80c35622 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 26 Nov 2018 18:52:51 +1100 Subject: [PATCH] Ensure previous FLI frame is loaded before seeking to the next --- Tests/images/a_fli.png | Bin 0 -> 2927 bytes Tests/test_file_fli.py | 7 +++++++ src/PIL/FliImagePlugin.py | 3 +++ 3 files changed, 10 insertions(+) create mode 100644 Tests/images/a_fli.png diff --git a/Tests/images/a_fli.png b/Tests/images/a_fli.png new file mode 100644 index 0000000000000000000000000000000000000000..93c3f1b12666715b422ef49995f0eaa213fb0278 GIT binary patch literal 2927 zcmaJ@4LDS38$M_L%#1Tk#E`#Xg@mToSL}DH@mG|XS}m0_{VE-07d2AjG_gx5Y(hEK zPbIZBD$*{-D7#drX!BF~8}a!UNnsuN4y)bm`}X_Jbv@^P?)!e8_j<1Pde8Nq7?Ho2O#0{|5exqG>gl*wdrxm+C`9X_9LVPPQ<2<+_a zghHXKtE)&P^6~Kzi^Y5Q?hOhGl1LM=5TyD)jlY!tr2~Qq2qIvJKp+Bx2pl2^2qz$nfDqz$ z@BiB=AGiM5jYBXFK{yNrSwJ`j;W&ih5HhRI7&!9Z1`Pe7&URoBj6o0vLl^>K7=+C7 zzmYzaOjjWgj6e_q|B-z}W@OTY;OUqJm~4SzWIAR6fe{RbF$Bi2=}Z|3{7GiBX$Oa4 z9D#8R#&HB_vs+TT1(%`p39;_2 zThmyw+fdQ)+UD>IRQ=pwSmTawQygf_$d`k?ujZK=%h|@U=RC%$lgko>{py1}zR;J+ z)ulLp4J6pBxyn|3AjZO7|Cwe3@wB&G{t{X=1e!RZRdWFwTFzx=kbO_b_4s!5A=_29 zr38Jl+>Xz>HU_kZGld$73qVr`YeU7D+9`^uqajZqpUeWkRr;xmcZ5^pAp=Ei=P8aP z+{I!j7#KvDs|gdd=yD{b%ue};)`t3-DNDJTibd3+6|(rjB5EhIC5k&dsYYpuoCa!( zBME1yEe<5GfrCQkxYPxGs_H2B(^d9=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