From 4a0941f76bc7518ff7794ac4995e0526a2a3f136 Mon Sep 17 00:00:00 2001 From: tth Date: Sun, 28 Jul 2019 11:35:48 +0200 Subject: [PATCH] remove dependencie --- v4l2/Makefile | 2 +- v4l2/video-infos.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/v4l2/Makefile b/v4l2/Makefile index 2c4224f..947c765 100644 --- a/v4l2/Makefile +++ b/v4l2/Makefile @@ -18,7 +18,7 @@ grabvidseq: grabvidseq.c Makefile gcc -Wall -g $< ../libfloatimg.a -lv4l2 -o $@ video-infos: video-infos.c Makefile funcs.o v4l2_pr_structs.o - gcc -Wall -g $< ../libfloatimg.a funcs.o v4l2_pr_structs.o -o $@ + gcc -Wall -g $< funcs.o v4l2_pr_structs.o -o $@ # --------------- diff --git a/v4l2/video-infos.c b/v4l2/video-infos.c index 39b9569..99385b7 100644 --- a/v4l2/video-infos.c +++ b/v4l2/video-infos.c @@ -226,8 +226,6 @@ puts("\t-K\tset the K parameter"); puts("\t-l\tlist video devices"); puts("\t-v\tincrease verbosity"); -if (verbosity) { puts(""); fimg_print_version(1); } - exit(0); } /* --------------------------------------------------------------------- */ @@ -248,8 +246,6 @@ while ((opt = getopt(argc, argv, "d:hK:lv")) != -1) { } } -if (verbosity) fimg_print_version(0); - foo = show_webcam_infos(device, "", K); fprintf(stderr, "\n\tshow_webcam_infos -> %d\n", foo);