[poppler] Branch 'poppler-0.14' - poppler/Movie.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Tue Aug 31 10:52:23 PDT 2010
poppler/Movie.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit bcc6731c79f69e72b69f8c40bff6e867467da77e
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