X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fpng2swf.c;h=ffca258823efb6edfb244d82ced91f532cfa14d3;hb=ac8c6f00fbaa94b3136457caf1a24d8f4f0c12cc;hp=0878543339f41ded66ad756a82b7062202860a2a;hpb=d18ccf3a425ed1a44c54b7d4f5045b6defa08445;p=swftools.git diff --git a/src/png2swf.c b/src/png2swf.c index 0878543..ffca258 100644 --- a/src/png2swf.c +++ b/src/png2swf.c @@ -100,13 +100,8 @@ int MovieFinish(SWF * swf, TAG * t, char *sname) if(global.do_cgi) { if FAILED(swf_WriteCGI(swf)) fprintf(stderr,"WriteCGI() failed.\n"); } else { - if(global.version >= 6) { - if (swf_WriteSWC(f, swf)<0) - fprintf(stderr, "Unable to write output file: %s\n", sname); - } else { - if (swf_WriteSWF(f, swf)<0) - fprintf(stderr, "Unable to write output file: %s\n", sname); - } + if (swf_WriteSWF(f, swf)<0) + fprintf(stderr, "Unable to write output file: %s\n", sname); if (f != so) close(f); }