diff options
Diffstat (limited to 'apps/codec_thread.c')
-rw-r--r-- | apps/codec_thread.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/codec_thread.c b/apps/codec_thread.c index b511809d6d..e45e9aec6b 100644 --- a/apps/codec_thread.c +++ b/apps/codec_thread.c | |||
@@ -90,7 +90,9 @@ extern struct codec_api ci; /* from codecs.c */ | |||
90 | static unsigned int codec_thread_id; /* For modifying thread priority later */ | 90 | static unsigned int codec_thread_id; /* For modifying thread priority later */ |
91 | static struct event_queue codec_queue SHAREDBSS_ATTR; | 91 | static struct event_queue codec_queue SHAREDBSS_ATTR; |
92 | static struct queue_sender_list codec_queue_sender_list SHAREDBSS_ATTR; | 92 | static struct queue_sender_list codec_queue_sender_list SHAREDBSS_ATTR; |
93 | static long codec_stack[(DEFAULT_STACK_SIZE + 0x2000)/sizeof(long)] IBSS_ATTR; | 93 | /* Workaround stack overflow in opus codec on highmem devices (see FS#13060). */ |
94 | #define WORKAROUND_FS13060 (MEMORYSIZE >= 8 ? 0x800 : 0) | ||
95 | static long codec_stack[(DEFAULT_STACK_SIZE + 0x2000 + WORKAROUND_FS13060)/sizeof(long)] IBSS_ATTR; | ||
94 | static const char codec_thread_name[] = "codec"; | 96 | static const char codec_thread_name[] = "codec"; |
95 | 97 | ||
96 | static void unload_codec(void); | 98 | static void unload_codec(void); |