X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fgif2swf.c;h=0d51d6c8780b4d2ea2fc6c0804f0af42ed164b96;hb=fc815311aa1bd67877b404493838dfd85a86f596;hp=e1379ace8df7429831692c51d7df1d6ba7545b90;hpb=15771c177b875ca1f233e8aa725283ce1a559091;p=swftools.git diff --git a/src/gif2swf.c b/src/gif2swf.c index e1379ac..0d51d6c 100644 --- a/src/gif2swf.c +++ b/src/gif2swf.c @@ -1,6 +1,6 @@ /* -*- mode: c; tab-width: 4; -*- ---------------------------[for (x)emacs]-- - $Id: gif2swf.c,v 1.6 2007/01/13 17:26:47 kramm Exp $ + $Id: gif2swf.c,v 1.7 2008/02/08 11:43:12 kramm Exp $ GIF to SWF converter tool Part of the swftools package. @@ -184,13 +184,8 @@ int MovieFinish(SWF * swf, TAG * t, char *sname) 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); }