blob: 01e5cbc0b4e24a2e6d4a809ff334808d148145bf (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- ./converter/other/pnmtotiffcmyk.c.orig 2023-12-29 13:47:21.000000000 -0600
+++ ./converter/other/pnmtotiffcmyk.c 2023-12-29 13:55:43.849898342 -0600
@@ -989,8 +989,9 @@
if ( (err = parseOpts( argc, argv, rt )) ) goto exit ;
- if ( (err = rt->in->open( rt->in, rt )) ) goto exit ;
- if ( (err = rt->out->open( rt->out, rt )) ) goto exit ;
+ if ( (err = (rt->in->open)( rt->in, rt )) ) goto exit ;
+ if ( (err = (rt->out->open)( rt->out, rt )) ) goto exit ;
+
while ( rt->in->hasMore( rt->in ) ) {
if ( (err = rt->in->next( rt->in, &r, &g, &b )) ) goto exit ;
|