From 4362e599361bfd0b2c50ce5327654cf9020d745c Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Thu, 3 Mar 2011 11:51:27 +0100 Subject: [PATCH] dreambox-dvb-tools-v3-1.7 --- showiframe.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++ showiframe.pro | 6 ++++ 2 files changed, 84 insertions(+) create mode 100644 showiframe.c create mode 100644 showiframe.pro diff --git a/showiframe.c b/showiframe.c new file mode 100644 index 0000000..1a7e651 --- /dev/null +++ b/showiframe.c @@ -0,0 +1,78 @@ +#include +#include +#include +#include +#include +#include +#include + +#include + +void c(int a) +{ + if (a < 0) + { + perror("ioctl"); + exit(6); + } +} + +int main(int argc, char **argv) +{ + struct stat s; + if (argc != 2) + { + printf("usage: %s