static char * filename = 0;
static char * outputname = "output.swf";
static int verbose = 2;
+static int override_outputname = 0;
static struct options_t options[] =
{
}
else if(!strcmp(name, "o")) {
outputname = val;
+ override_outputname = 1;
return 1;
}
else if(!strcmp(name, "v")) {
int r,g,b,a;
int t;
char*names[8] = {"black", "blue", "green", "cyan",
- "red", "violet", "yellow", "white"};
+ "red", "magenta", "yellow", "white"};
a=255;
r=g=b=0;
if(str[0]=='#' && (l==7 || l==9)) {
int version = parseInt(lu(args, "version"));
int fps = (int)(parseFloat(lu(args, "fps"))*256);
int compress = 0;
- if(!strcmp(name, "!default!"))
+ if(!strcmp(name, "!default!") || override_outputname)
name = outputname;
if(!strcmp(compressstr, "default"))