support for delay/seek value in soundstreamblock.
[swftools.git] / avi2swf / avi2swf.cc
index 84fad76..7590db4 100644 (file)
@@ -13,6 +13,7 @@ extern "C" {
 #include "../lib/rfxswf.h"
 #include "../lib/args.h"
 }
+#undef HAVE_CONFIG_H
 #include <avifile/version.h>
 #if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6) 
    #include <avifile.h>
@@ -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;
        }