From 50c12abc91e3ad768c1ce858c0edc37fdedb4cac Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 19 May 2002 20:59:42 +0000 Subject: [PATCH] swf_WriteHead now returns the written bytes. --- lib/rfxswf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/rfxswf.c b/lib/rfxswf.c index 5347ba0..f188d79 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -968,8 +968,7 @@ int swf_WriteHeader(int handle,SWF * swf) SWF myswf; memcpy(&myswf,swf,sizeof(SWF)); myswf.firstTag = 0; - swf_WriteSWF(handle, &myswf); - return 0; + return swf_WriteSWF(handle, &myswf); } int swf_WriteCGI(SWF * swf) -- 1.7.10.4