X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=lib%2Frfxswf.c;h=f188d79155093c493b95faec65253cbd69cc1fe7;hb=c4d5808ef13df26e75b659d2019b5d89b16f4539;hp=5347ba03f022c355765ab24af55b70f803ada4ab;hpb=4818394f9d96fe1a48d182ae3d1e1e9964203ad5;p=swftools.git 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)