working on singlepass

This commit is contained in:
tth
2021-04-18 11:55:59 +02:00
parent 34ab825670
commit 2b03f3f516
4 changed files with 24 additions and 13 deletions
+6 -4
View File
@@ -20,20 +20,22 @@
/*
* singleton/private variables
*/
static int nextpng, counter;
static char *destination;
static int chainfilter;
/* and the classic global var */
extern int verbosity;
/* -------------------------------------------------------------- */
int single_init(int next, char *dest, int fxchain)
int single_init(int next, char *dest, int fxchain, int outfmt)
{
int foo;
struct stat stbuf;
#if DEBUG_LEVEL
fprintf(stderr, ">>> %s ( %d '%s' %d )\n", __func__,
next, dest, fxchain);
fprintf(stderr, ">>> %s ( %d '%s' %d %d )\n", __func__,
next, dest, fxchain, outfmt);
#endif
nextpng = next;