X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.c;h=580a55d768cb1d3fbf4ced3c1922d8c90c6c36a3;hb=1525f916430f011f53d713debcee1bcf28b6ee8b;hp=19504879741195c56bc87d585f90834895f64b15;hpb=7bc762a4b12a9bd7a039d4c5ecb7419c063f51a5;p=swftools.git diff --git a/lib/rfxswf.c b/lib/rfxswf.c index 1950487..580a55d 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -668,7 +668,7 @@ int swf_SetMatrix(TAG * t,MATRIX * m) return 0; } -int swf_GetCXForm(TAG * t,CXFORM * cx,U8 alpha) //FIXME: alpha should be type bool +int swf_GetCXForm(TAG * t,CXFORM * cx,U8 alpha) { CXFORM cxf; int hasadd; int hasmul; @@ -1437,6 +1437,7 @@ int swf_WriteSWF(int handle, SWF * swf) // Writes SWF to file, returns leng if(handle<0) { writer_init_nullwriter(&writer); len = swf_WriteSWF2(&writer, swf); + return len; } writer_init_filewriter(&writer, handle); len = swf_WriteSWF2(&writer, swf);