X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswftools.c;h=6c37762753a6a789f6345bd8023a8f9c7df7f3aa;hb=80cc20b7784cccc9d8baf9839f9781db6bb6f539;hp=01a660b168cb686b0759b211924f1435f9d1c298;hpb=9187c194c978d9c9790452120a4c94d24a1bfb9e;p=swftools.git diff --git a/lib/modules/swftools.c b/lib/modules/swftools.c index 01a660b..6c37762 100644 --- a/lib/modules/swftools.c +++ b/lib/modules/swftools.c @@ -962,10 +962,10 @@ void swf_Relocate (SWF*swf, char*bitmap) if(slaveids[id]<0) { fprintf(stderr, "swf_Relocate: Mapping id (%d) never encountered before in %s\n", id, swf_TagGetName(tag)); - return ; + } else { + id = slaveids[id]; + PUT16(&tag->data[ptr[t]], id); } - id = slaveids[id]; - PUT16(&tag->data[ptr[t]], id); } } tag=tag->next;