poppler/Annot.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e3173f9813fb59dcb5b2c136e6830475b1db70d5
Author: Albert Astals Cid <[email protected]>
Date:   Mon Oct 25 18:59:49 2010 +0100

    Initialze movie to NULL on broken pdf files

diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 02037cf..3a9f9c3 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -4084,6 +4084,7 @@ void AnnotMovie::initialize(XRef *xrefA, Catalog 
*catalog, Dict* dict) {
     obj2.free();
   } else {
     error(-1, "Bad Annot Movie");
+    movie = NULL;
     ok = gFalse;
   }
   movieDict.free();
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to