patches/libiec61883-02-struct.diff
author drdoug007
Tue, 04 Sep 2007 07:22:46 +0000
changeset 445 8739b4d845c1
permissions -rw-r--r--
2007-09-04 Doug Scott <[email protected]> * SFElibraw1394.spec: *NEW* Interface to IEEE-1394 subsystem - requires raw1394 driver for Solaris (in progress) * SFEdvgrab.spec: *NEW* DV grabbing utility * SFElibavc1394.spec: *NEW* interface to the 1394 AV/C specification * SFElibiec61883.spec: *NEW* Streaming library for IEEE1394 * SFEdocbook-utils.spec: Fixed typo * base-specs/libraw1394.spec: base spec * base-specs/libiec61883.spec: base spec * base-specs/dvgrab.spec: base spec * base-specs/libavc1394.spec: base spec * patches/dvgrab-04-sunpro.diff: Sun Studio patch * patches/libraw1394-01-configure.diff: configure patch * patches/libavc1394-01-wall.diff: remove -Wall * patches/dvgrab-02-v4l2.diff: patch for Solaris v4l2 * patches/libraw1394-02-u_int.diff: add u_intX_t types * patches/dvgrab-03-u_int.diff: add u_intX_t types * patches/dvgrab-01-configure.diff: configure patch * patches/libraw1394-04-eremoteio.diff: change EREMOTEIO to EIO * patches/dvgrab-06-return.diff: add return * patches/libiec61883-01-function.diff: Change __FUNCTION__ to __func__ * patches/libraw1394-03-kernel.diff: Initial raw1394 port defns * patches/libiec61883-02-struct.diff: gccism * patches/dvgrab-05-strsep.diff: Add strsep function * include/byteswap-compat.h: Fix Sun CXX asm issues
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
445
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     1
--- libiec61883-1.1.0/examples/test-dv.c.orig	2007-09-04 10:09:03.239249499 +0700
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     2
+++ libiec61883-1.1.0/examples/test-dv.c	2007-09-04 10:09:42.617502317 +0700
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     3
@@ -60,9 +60,9 @@
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     4
 	if (frame && iec61883_dv_fb_start (frame, channel) == 0)
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     5
 	{
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     6
 		struct pollfd pfd = {
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     7
-			fd: raw1394_get_fd (handle),
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     8
-			events: POLLIN | POLLPRI,
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     9
-			revents: 0
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    10
+			raw1394_get_fd (handle),
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    11
+			POLLIN | POLLPRI,
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    12
+			0
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    13
 		};
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    14
 		int result = 0;
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    15
 		
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    16
@@ -94,9 +94,9 @@
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    17
 	if (dv && iec61883_dv_xmit_start (dv, channel) == 0)
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    18
 	{
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    19
 		struct pollfd pfd = {
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    20
-			fd: raw1394_get_fd (handle),
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    21
-			events: POLLIN,
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    22
-			revents: 0
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    23
+			raw1394_get_fd (handle),
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    24
+			POLLIN,
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    25
+			0
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    26
 		};
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    27
 		int result = 0;
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    28