swfrender has an undocumented option to allow arbitrary parameters to be set. 

It's currently broken, as the parameter name is used as the parameter value. 
Attached patch fixes this. 

cheers 
tim 
From c85e0fa4ad8be511c8fd21e6d40a3c970ac34881 Mon Sep 17 00:00:00 2001
From: timw <[email protected]>
Date: Mon, 6 Aug 2012 10:39:10 +1200
Subject: [PATCH] Fixed parsing of additional parameters to actually use the
 value of the parameter.

---
 src/swfrender.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/swfrender.c b/src/swfrender.c
index fbfdeaa..ff1e063 100644
--- a/src/swfrender.c
+++ b/src/swfrender.c
@@ -67,7 +67,7 @@ int args_callback_option(char*name,char*val)
 	    *c = 0;
 	    c++;
 	    p->name = s;
-	    p->value = s;
+	    p->value = c;
 	} else {
 	    p->name = s;
 	    p->value = "1";
-- 
1.7.9

---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an 
existing subscription, please kindly point your favourite web browser 
at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>

Reply via email to