From 735edd1d444cb6c62c655b96b2d37c2da8bda5dd Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 7 Feb 2003 12:42:11 +0000 Subject: [PATCH] fixed call the swf_SetSoundStreamBlock. --- avi2swf/avi2swf.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/avi2swf/avi2swf.cc b/avi2swf/avi2swf.cc index 7590db4..bd7d857 100644 --- a/avi2swf/avi2swf.cc +++ b/avi2swf/avi2swf.cc @@ -719,9 +719,9 @@ int main (int argc,char ** argv) 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; -- 1.7.10.4