[poppler] poppler/Movie.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Tue Aug 31 10:52:57 PDT 2010


 poppler/Movie.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit d3f32f2c4f9f46620c0287c44bef686f340461f3
Author: Albert Astals Cid <aacid at kde.org>
Date:   Tue Aug 31 18:51:17 2010 +0100

    Read from the correct variable
    
    Fixes crash on KDE bug 249586

diff --git a/poppler/Movie.cc b/poppler/Movie.cc
index 42bc788..3e764ac 100644
--- a/poppler/Movie.cc
+++ b/poppler/Movie.cc
@@ -6,6 +6,7 @@
 // Hugo Mercier <hmercier31[at]gmail.com> (c) 2008
 // Pino Toscano <pino at kde.org> (c) 2008
 // Carlos Garcia Campos <carlosgc at gnome.org> (c) 2010
+// Albert Astals Cid <aacid at kde.org> (c) 2010
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -229,7 +230,7 @@ void Movie::parseMovie (Object *movieDict) {
     if (poster.isRef() || poster.isStream()) {
       showPoster = gTrue;
     } else if (poster.isBool()) {
-      showPoster = obj1.getBool();
+      showPoster = poster.getBool();
       poster.free();
     } else {
       poster.free();


More information about the poppler mailing list