poppler/Rendition.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 508c7c3ef1f22459daa822f8287cab382119e753 Author: Tobias Koenig <[email protected]> Date: Wed Mar 7 18:35:05 2012 +0100 Fix logic error in Rendition parsing code Make the rendition object invalid when both P an C entries are not present or are invalid in Media Rendition dictionary. https://bugs.freedesktop.org/show_bug.cgi?id=47063 diff --git a/poppler/Rendition.cc b/poppler/Rendition.cc index d00f555..c1b9a7e 100644 --- a/poppler/Rendition.cc +++ b/poppler/Rendition.cc @@ -344,7 +344,7 @@ MediaRendition::MediaRendition(Object* obj) { BE.parseMediaPlayParameters(¶ms); } params.free(); - } else if (hasClip) { + } else if (!hasClip) { error (errSyntaxError, -1, "Invalid Media Rendition"); ok = gFalse; } _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
