git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f3e7cf
)
allow to set sample value
author
kramm
<kramm>
Wed, 2 Apr 2003 15:01:15 +0000
(15:01 +0000)
committer
kramm
<kramm>
Wed, 2 Apr 2003 15:01:15 +0000
(15:01 +0000)
lib/modules/swfsound.c
patch
|
blob
|
history
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
}