summaryrefslogtreecommitdiff
path: root/src/pdf2swf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf2swf.c')
-rw-r--r--src/pdf2swf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pdf2swf.c b/src/pdf2swf.c
index 43441874..c50a3de3 100644
--- a/src/pdf2swf.c
+++ b/src/pdf2swf.c
@@ -748,6 +748,8 @@ int main(int argn, char *argv[])
pagenum = 0;
gfxdevice_t*out = create_output_device();;
+ pdf->prepare(pdf, out);
+
for(pagenr = 1; pagenr <= pdf->num_pages; pagenr++)
{
if(is_in_range(pagenr, pagerange)) {