X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfshape.c;h=5ac06f9210053a51e7916010bfd372ea128043ee;hb=8ea466bbb98296967cf146d295fe03c812b119da;hp=b53e2e86cc0a22f43117eac019f1a2ddfe7daab0;hpb=ac4eb306e22b6c0746536c23445885e314a5ff0e;p=swftools.git diff --git a/lib/modules/swfshape.c b/lib/modules/swfshape.c index b53e2e8..5ac06f9 100644 --- a/lib/modules/swfshape.c +++ b/lib/modules/swfshape.c @@ -543,15 +543,17 @@ static void parseFillStyleArray(TAG*tag, SHAPE2*shape) else swf_GetRGB(tag, &dest->color); } - else if(type == 0x10 || type == 0x12) + else if(type == 0x10 || type == 0x11 || type == 0x12 || type == 0x13) { /* linear/radial gradient fill */ swf_ResetReadBits(tag); swf_GetMatrix(tag, &dest->m); swf_ResetReadBits(tag); swf_GetGradient(tag, &dest->gradient, num>=3?1:0); + if(type == 0x13) + swf_GetU8(tag); } - else if(type == 0x40 || type == 0x41) + else if(type == 0x40 || type == 0x41 || type == 0x42 || type == 0x43) { /* bitmap fill */ swf_ResetReadBits(tag);