git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow to set sample value
[swftools.git]
/
lib
/
modules
/
swfsound.c
diff --git
a/lib/modules/swfsound.c
b/lib/modules/swfsound.c
index
2209d85
..
b2801bd
100644
(file)
--- 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
}