X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fmodules%2Fswfsound.c;h=b2801bdbd6bd79116d8ae909601cc93c4f6d9152;hp=2209d85ce21b427a6a52e0cdfd0585b67cd6dfc3;hb=761ab4b89017f5b4ebcf6eb1aada4aa0a1a20b45;hpb=2f3e7cf3da2d5ffa26cd770269e4401b1d27d909 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 }