From: kramm Date: Mon, 17 Mar 2008 19:38:00 +0000 (+0000) Subject: fixed compilation issues X-Git-Tag: buttons-working~390 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=66b7b928edffcd0f9a5f2696ed69d39f3f468101 fixed compilation issues --- diff --git a/src/swfrender.c b/src/swfrender.c index 24df1c5..df86dd4 100644 --- a/src/swfrender.c +++ b/src/swfrender.c @@ -9,6 +9,7 @@ #include "../lib/args.h" #include "../lib/gfxsource.h" #include "../lib/swf/swf.h" +#include "../lib/devices/render.h" static struct options_t options[] = { {"h", "help"}, @@ -98,7 +99,7 @@ int main(int argn, char*argv[]) swf_Render_Delete(&buf); } else { gfxsource_t*src = gfxsource_swf_create(); - gfxdocument_t*doc = src->open(filename); + gfxdocument_t*doc = src->open(src, filename); if(!doc) { fprintf(stderr,"Couldn't open %s\n", filename); exit(1);