patches/libiec61883-02-struct.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 445 8739b4d845c1
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name

--- libiec61883-1.1.0/examples/test-dv.c.orig	2007-09-04 10:09:03.239249499 +0700
+++ libiec61883-1.1.0/examples/test-dv.c	2007-09-04 10:09:42.617502317 +0700
@@ -60,9 +60,9 @@
 	if (frame && iec61883_dv_fb_start (frame, channel) == 0)
 	{
 		struct pollfd pfd = {
-			fd: raw1394_get_fd (handle),
-			events: POLLIN | POLLPRI,
-			revents: 0
+			raw1394_get_fd (handle),
+			POLLIN | POLLPRI,
+			0
 		};
 		int result = 0;
 		
@@ -94,9 +94,9 @@
 	if (dv && iec61883_dv_xmit_start (dv, channel) == 0)
 	{
 		struct pollfd pfd = {
-			fd: raw1394_get_fd (handle),
-			events: POLLIN,
-			revents: 0
+			raw1394_get_fd (handle),
+			POLLIN,
+			0
 		};
 		int result = 0;