shithub: pdffs

Download patch

ref: e991b56693665c4f509c00f17d678d0e528271fa
parent: 2cfd1426cbdc0a97f054760564d9409821c5cf32
author: Sigrid Haflínudóttir <[email protected]>
date: Tue Sep 1 16:08:30 EDT 2020

stream: fix objects with no filters

--- a/stream.c
+++ b/stream.c
@@ -37,7 +37,7 @@
 		goto err;
 
 	/* see if there are any filters */
-	if((of = dictget(o, "Filter")) != nil){
+	if((of = dictget(o, "Filter")) != &null){
 		if(pdfeval(&of)->type == Oname){ /* one filter */
 			flts = &of;
 			nflts = 1;