# | Line 20 | Line 20 | set_nc_defaults(NORMCODEC *ncp) | |
---|---|---|
20 | ncp->finp = stdin; | |
21 | ncp->inpname = "<stdin>"; | |
22 | ncp->format = 'a'; | |
23 | – | ncp->swapped = 0; |
23 | ncp->res.rt = PIXSTANDARD; | |
24 | if (!progname) progname = "norm_codec"; | |
25 | } | |
# | Line 125 | Line 124 | check_decode_normals(NORMCODEC *ncp) | |
124 | int | |
125 | decode_normal_next(FVECT nrm, NORMCODEC *ncp) | |
126 | { | |
127 | < | int32 lastc; |
128 | < | FVECT lastv; |
129 | < | int32 c = getint(4, ncp->finp); |
127 | > | static int32 lastc; |
128 | > | static FVECT lastv; |
129 | > | int32 c = getint(4, ncp->finp); |
130 | ||
131 | if (c == EOF && feof(ncp->finp)) | |
132 | return -1; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |