#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>
{"n","num"},
{"p","flip"},
{"s","start"},
+ {"d","scale"},
{"z","zlib"},
{"V","version"},
{0,0}
printf("\t-n , --num frames\t Number of frames to encode\n");
printf("\t-s , --start frame\t First frame to encode\n");
printf("\t-d , --scale factor\t Scale to factor percent\n");
- printf("\t-f , --flip\t\t Turn movie upside down\n");
+ printf("\t-p , --flip\t\t Turn movie upside down\n");
printf("\t-V , --version\t\t Print program version and exit\n");
exit(0);
}
}
best = bestsum/block->len;
- if(best > 96.0) {
+ if(best > 64.0) {
misses++;
return -1;
}
int c=0;
if(first) { //first run
tag = swf_InsertTag(NULL, ST_SOUNDSTREAMBLOCK);
- swf_SetSoundStreamBlock(tag, samples, 1);
+ swf_SetSoundStreamBlock(tag, samples, 0, 1);
} else {
- swf_SetSoundStreamBlock(tag, samples, 0);
+ swf_SetSoundStreamBlock(tag, samples, 0, 0);
}
mp3_sound_pos += mp3_block_size;