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; }