X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=lib%2Frfxswf.c;h=554309ee41b9a041cd6d83a6ecf8c5a8c2124ec3;hb=1592b59ab70de77446cacc437f984c846d10c404;hp=9a568fd30effacf700e462b0dfbc3c5a7047260f;hpb=fcb4a9475268e19036bca32bec316d3d5402dc9a;p=swftools.git diff --git a/lib/rfxswf.c b/lib/rfxswf.c index 9a568fd..554309e 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -776,6 +776,7 @@ int swf_InitSWF(void*data, int length, SWF * swf) /* copy a swf in memory into S swf->firstTag = t1.next; t1.next->prev = NULL;*/ } + return 0; } int swf_ReadSWF(int handle,SWF * swf) // Reads SWF to memory (malloc'ed), returns length or <0 if fails @@ -897,6 +898,7 @@ int swf_WriteHeader(int handle,SWF * swf) memcpy(&myswf,swf,sizeof(SWF)); myswf.firstTag = 0; swf_WriteSWF(handle, &myswf); + return 0; } int swf_WriteCGI(SWF * swf)