比較提交
2 次程式碼提交
b8b34d0177
...
51190aa1c4
作者 | SHA1 | 日期 | |
---|---|---|---|
![]() |
51190aa1c4 | ||
![]() |
f30d66eeb3 |
@ -20,14 +20,14 @@ if (4 != argc) {
|
||||
}
|
||||
fname = argv[1];
|
||||
width = atoi(argv[2]); height = atoi(argv[3]);
|
||||
fprintf(stderr, "making %s %d x %d\n", fname, width, height);
|
||||
fprintf(stderr, "making %s %d x %d\n", fname, width, height);
|
||||
|
||||
foo = fimg_create(&fimg, width, height, 3);
|
||||
if (foo) {
|
||||
fprintf(stderr, "create floatimg -> %d\n", foo);
|
||||
exit(1);
|
||||
}
|
||||
fimg_describe(&fimg, "just a black flimg");
|
||||
// fimg_describe(&fimg, "just a black flimg");
|
||||
fimg_clear(&fimg);
|
||||
|
||||
foo = fimg_dump_to_file(&fimg, fname, 0);
|
||||
|
@ -3,6 +3,8 @@
|
||||
COPT = -Wall -fpic -g -DDEBUG_LEVEL=1
|
||||
DEPS = ../floatimg.h ../libfloatimg.a Makefile
|
||||
|
||||
all: grabvidseq t
|
||||
|
||||
t: t.c Makefile ${DEPS} funcs.o
|
||||
gcc ${COPT} $< funcs.o ../libfloatimg.a -o $@
|
||||
|
||||
|
載入中…
新增問題並參考
Block a user