trying to solve start/end issue

This commit is contained in:
tth 2021-03-17 17:06:25 +01:00
parent e410b64514
commit 706e218ff0
1 changed files with 2 additions and 6 deletions

View File

@ -156,17 +156,14 @@ if (FIMG_TYPE_RGB != iarray[2]) {
w = iarray[0], h = iarray[1];
fprintf(stderr, "first image size : %dx%d\n", w, h);
fimg_create(&A, w, h, 3); pFirst = &A;
fimg_vdeg_a(&A, idx_values[0].value);
fimg_create(&B, w, h, 3); pSecond = &B;
fimg_create(&A, w, h, 3); pFirst = &A; fimg_clear(&A);
fimg_create(&B, w, h, 3); pSecond = &B; fimg_clear(&B);
fimg_create(&Out, w, h, 3);
ipng = 0;
for (idx=0; idx<globbuf.gl_pathc; idx++) {
curpix = idx_values[idx].idx;
cptr = globbuf.gl_pathv[curpix]; /* aliasing filename */
/* read the next file in B */
@ -215,7 +212,6 @@ for (idx=0; idx<globbuf.gl_pathc; idx++) {
pFirst = pTmp;
/* XXX THIS CODE DON'T WORK !!! */
#endif
}
fprintf(stderr, "\ngenerated %d png files\n", ipng);