X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=avi2swf%2Favi2swf.cc;h=7590db498032a3492285b08389663af5afe9b4b0;hb=13d9ea259d0085504bb34f9c1de501eab00d376b;hp=84fad76c3b74f9ae6e4d99ffe659d913ab93b0ac;hpb=b35ef028cc3f91c3e349aa8c330f52dba3da29b3;p=swftools.git diff --git a/avi2swf/avi2swf.cc b/avi2swf/avi2swf.cc index 84fad76..7590db4 100644 --- a/avi2swf/avi2swf.cc +++ b/avi2swf/avi2swf.cc @@ -13,6 +13,7 @@ extern "C" { #include "../lib/rfxswf.h" #include "../lib/args.h" } +#undef HAVE_CONFIG_H #include #if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6) #include @@ -72,6 +73,7 @@ struct options_t options[] = {"n","num"}, {"p","flip"}, {"s","start"}, + {"d","scale"}, {"z","zlib"}, {"V","version"}, {0,0} @@ -312,7 +314,7 @@ class GfxBlockCache { } best = bestsum/block->len; - if(best > 96.0) { + if(best > 64.0) { misses++; return -1; }