aboutsummaryrefslogtreecommitdiffstats
path: root/ringbuffer.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-12-05 23:22:59 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-12-05 23:22:59 +0000
commita6f33f1d052192581fe1be6b5b006aa608a07611 (patch)
tree4e048f755c6c5f5647a305048ac29a9f225e20ea /ringbuffer.h
parentf27bf1302279c2f360963deaf46bb9d3d8a40513 (diff)
requested by Cory Perry:
increase the maximum number of ringbuffer files from 1024 to 10000. svn path=/trunk/; revision=16690
Diffstat (limited to 'ringbuffer.h')
-rw-r--r--ringbuffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ringbuffer.h b/ringbuffer.h
index 8962cf1..396963b 100644
--- a/ringbuffer.h
+++ b/ringbuffer.h
@@ -35,7 +35,8 @@
/* minimum number of ringbuffer files */
#define RINGBUFFER_MIN_NUM_FILES 0
/* maximum number of ringbuffer files */
-#define RINGBUFFER_MAX_NUM_FILES 1024
+/* (only to avoid crashes on very large numbers) */
+#define RINGBUFFER_MAX_NUM_FILES 10000
int ringbuf_init(const char *capture_name, guint num_files);
const gchar *ringbuf_current_filename(void);