summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fwcontrol
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2007-06-17 10:20:55 +0000
committersimokawa <simokawa@FreeBSD.org>2007-06-17 10:20:55 +0000
commite572059c28fbf3c9d381a796b76c08ef6c01437a (patch)
tree4ce83c98cc9c1e162c3408fdea7dd95612d5306e /usr.sbin/fwcontrol
parent320b30047e52c633c9569cf210bff445cd9bfe0a (diff)
downloadFreeBSD-src-e572059c28fbf3c9d381a796b76c08ef6c01437a.zip
FreeBSD-src-e572059c28fbf3c9d381a796b76c08ef6c01437a.tar.gz
Increase buffer size of DV stream to prevent buffer
overrun caused by long blocking of file I/O (i.e. zfs). MFC after: 3 days
Diffstat (limited to 'usr.sbin/fwcontrol')
-rw-r--r--usr.sbin/fwcontrol/fwdv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/fwcontrol/fwdv.c b/usr.sbin/fwcontrol/fwdv.c
index bb5ae56..7b749e6 100644
--- a/usr.sbin/fwcontrol/fwdv.c
+++ b/usr.sbin/fwcontrol/fwdv.c
@@ -81,7 +81,7 @@ int frame_rate[] = {30, 25};
#define PSIZE 512
#define DSIZE 480
-#define NCHUNK 8
+#define NCHUNK 64
#define NPACKET_R 256
#define NPACKET_T 255
OpenPOWER on IntegriCloud