X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fdevices%2Fswf.c;h=ad897fdfe62557fd961ad6afe8ca8cda8a80d645;hp=99a224060cd081ac318b9071d6f71346dc662761;hb=dbc9adb7ae63afb520ab7d048739ef92a18d3b7f;hpb=db0876a6d5db9c01f29a5bdb8be886a861130f9a diff --git a/lib/devices/swf.c b/lib/devices/swf.c index 99a2240..ad897fd 100644 --- a/lib/devices/swf.c +++ b/lib/devices/swf.c @@ -247,8 +247,10 @@ static U16 getNewID(gfxdevice_t* dev) { swfoutput_internal*i = (swfoutput_internal*)dev->internal; if(i->currentswfid == 65535) { - if(!id_error) + if(!id_error) { msg(" ID Table overflow"); + msg(" This file is too complex to render- SWF only supports 65536 shapes at once"); + } id_error=1; i->overflow = 1; exit(1); @@ -259,8 +261,10 @@ static U16 getNewDepth(gfxdevice_t* dev) { swfoutput_internal*i = (swfoutput_internal*)dev->internal; if(i->depth == 65535) { - if(!id_error) + if(!id_error) { msg(" Depth Table overflow"); + msg(" This file is too complex to render- SWF only supports 65536 shapes at once"); + } id_error=1; i->overflow = 1; exit(1);