fix builds broken by the selective stack bump for opus seeking.
Change-Id: I9eb3b4d2bc88293b09679c27fbceaaa7788ba553
This commit is contained in:
parent
71abdf5d82
commit
53d72a8be1
1 changed files with 7 additions and 1 deletions
|
@ -90,8 +90,14 @@ extern struct codec_api ci; /* from codecs.c */
|
|||
static unsigned int codec_thread_id; /* For modifying thread priority later */
|
||||
static struct event_queue codec_queue SHAREDBSS_ATTR;
|
||||
static struct queue_sender_list codec_queue_sender_list SHAREDBSS_ATTR;
|
||||
|
||||
/* Workaround stack overflow in opus codec on highmem devices (see FS#13060). */
|
||||
#define WORKAROUND_FS13060 (MEMORYSIZE >= 8 ? 0x800 : 0)
|
||||
#if !defined(CPU_COLDFIRE) && (MEMORYSIZE >= 8) && defined(IRAMSIZE) && IRAMSIZE > (32 * 1024)
|
||||
#define WORKAROUND_FS13060 0x800
|
||||
#else
|
||||
#define WORKAROUND_FS13060 0
|
||||
#endif
|
||||
|
||||
static long codec_stack[(DEFAULT_STACK_SIZE + 0x2000 + WORKAROUND_FS13060)/sizeof(long)] IBSS_ATTR;
|
||||
static const char codec_thread_name[] = "codec";
|
||||
|
||||
|
|
Loading…
Reference in a new issue