From 18d03f1579e93fe5d98b0712058c271985989cd4 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 12 Dec 2007 01:00:03 +0000 Subject: [PATCH] use 1/8 or 1/4 of the ram... git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6689 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/formats/mod_local_stream/mod_local_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/formats/mod_local_stream/mod_local_stream.c b/src/mod/formats/mod_local_stream/mod_local_stream.c index 709323f674..70843b9dc6 100644 --- a/src/mod/formats/mod_local_stream/mod_local_stream.c +++ b/src/mod/formats/mod_local_stream/mod_local_stream.c @@ -100,7 +100,7 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void while(RUNNING && (fname = switch_dir_next_file(source->dir_handle, file_buf, sizeof(file_buf)))) { switch_size_t olen; - uint8_t *abuf[SWITCH_RECOMMENDED_BUFFER_SIZE] = {0}; + uint8_t abuf[SWITCH_RECOMMENDED_BUFFER_SIZE] = {0}; snprintf(path_buf, sizeof(path_buf), "%s%s%s", source->location, SWITCH_PATH_SEPARATOR, fname); if (switch_stristr(".loc", path_buf)) {