diff options
author | Josh de Kock <josh@itanimul.li> | 2016-07-22 16:09:06 +0100 |
---|---|---|
committer | Josh de Kock <josh@itanimul.li> | 2016-07-26 23:10:47 +0100 |
commit | c2fcf4fa0b121c96301b58b53997ab906360ff32 (patch) | |
tree | 0873d8273b691a5b7e0b54d8988ed6b08c9ed756 /libavdevice | |
parent | a4edaa0270587adf4c429c79837810d5261a906a (diff) | |
download | ffmpeg-c2fcf4fa0b121c96301b58b53997ab906360ff32.tar.gz |
avdev/jack: remove duplicated dispatch macros
The macros were moved to compat/dispatch_semaphore/semaphore.h after a libav merge, and were never removed from jack.c
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/jack.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libavdevice/jack.c b/libavdevice/jack.c index 34e21527a7..076078ce6d 100644 --- a/libavdevice/jack.c +++ b/libavdevice/jack.c @@ -35,16 +35,6 @@ #include "timefilter.h" #include "avdevice.h" -#if HAVE_DISPATCH_DISPATCH_H -#include <dispatch/dispatch.h> -#define sem_t dispatch_semaphore_t -#define sem_init(psem,x,val) *psem = dispatch_semaphore_create(val) -#define sem_post(psem) dispatch_semaphore_signal(*psem) -#define sem_wait(psem) dispatch_semaphore_wait(*psem, DISPATCH_TIME_FOREVER) -#define sem_timedwait(psem, val) dispatch_semaphore_wait(*psem, dispatch_walltime(val, 0)) -#define sem_destroy(psem) dispatch_release(*psem) -#endif - /** * Size of the internal FIFO buffers as a number of audio packets */ |