freebsd-ports/sysutils/xvidcap/files/patch-src::capture.c
Thierry Thomas 4a58d04c9f Unbreak by upgrading to the latest stable revision, and use the
included ffmpeg (it is still broken with ffmpeg-0.4.9).

Approved by:	portmgr (krion).
2005-01-06 17:55:11 +00:00

11 lines
310 B
C

--- src/capture.c.orig Mon Mar 15 18:34:42 2004
+++ src/capture.c Sun Jan 2 18:00:09 2005
@@ -662,7 +662,7 @@
#ifdef HAVE_FDATASYNC
fdatasync(fileno(fp));
#else
- fsync(fileno(fp));
+ fsync(fileno((FILE *) fp));
#endif // HAVE_FDATASYNC
}