X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fmodules%2Fswfsound.c;h=b2801bdbd6bd79116d8ae909601cc93c4f6d9152;hb=fd6e788f8b2f31b597f30207178f279f106b4b77;hp=2209d85ce21b427a6a52e0cdfd0585b67cd6dfc3;hpb=f14390c59ccf526e32cf4e3c12fb0cefe6bff8ab;p=swftools.git diff --git a/lib/modules/swfsound.c b/lib/modules/swfsound.c index 2209d85..b2801bd 100644 --- a/lib/modules/swfsound.c +++ b/lib/modules/swfsound.c @@ -145,7 +145,7 @@ void swf_SetSoundStreamBlock(TAG*tag, S16*samples, int seek, char first) if(first) { int fs = lame_get_framesize(lame_flags); //printf("framesize:%d\n", fs); - swf_SetU16(tag, fs); // samples per mp3 frame + swf_SetU16(tag, fs * first); // samples per mp3 frame swf_SetU16(tag, seek); // seek }