From 77ab335e65b6db24e98fa1139f307fa8afe12efb Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 10 Jan 2002 19:58:42 +0000 Subject: [PATCH] write sound data information --- lib/modules/swfsound.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/modules/swfsound.c b/lib/modules/swfsound.c index 5ccc756..5804921 100644 --- a/lib/modules/swfsound.c +++ b/lib/modules/swfsound.c @@ -54,6 +54,8 @@ void swf_SetSoundStreamBlock(TAG*tag, U16*samples, int numsamples) len += codecFlush (&buf[len]); len += codecExit(&buf[len]); + swf_SetU16(tag, numsamples); // number of samples + swf_SetU16(tag, 0); // seek swf_SetBlock(tag, buf, len); free(buf); } -- 1.7.10.4