diff options
author | Benny Prijono <bennylp@teluu.com> | 2014-02-19 04:24:08 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2014-02-19 04:24:08 +0000 |
commit | 2848c9689f573fc1aca71d7c4bad63a6758a9ee1 (patch) | |
tree | 0f8d73a453507459fa7a79fabaac13206cf5fae8 /pjmedia | |
parent | 7c7dd8a6151a607ac7fda3da0a657fddd07be8d1 (diff) |
Misc (re #1630): use static variable when registering interruptionListener thread
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4751 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia')
-rw-r--r-- | pjmedia/src/pjmedia-audiodev/coreaudio_dev.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjmedia/src/pjmedia-audiodev/coreaudio_dev.m b/pjmedia/src/pjmedia-audiodev/coreaudio_dev.m index b2206824..f86aaa37 100644 --- a/pjmedia/src/pjmedia-audiodev/coreaudio_dev.m +++ b/pjmedia/src/pjmedia-audiodev/coreaudio_dev.m @@ -1127,7 +1127,7 @@ static void interruptionListener(void *inClientData, UInt32 inInterruption) { struct stream_list *it, *itBegin; pj_status_t status; - pj_thread_desc thread_desc; + static pj_thread_desc thread_desc; pj_thread_t *thread; /* Register the thread with PJLIB, this is must for any external threads |