diff options
author | Matt Oliver <protogonoi@gmail.com> | 2015-09-30 13:41:53 +1000 |
---|---|---|
committer | Matt Oliver <protogonoi@gmail.com> | 2015-09-30 13:41:53 +1000 |
commit | 3b03bde46e331aa301bd16c6c6e94c11e073e8f8 (patch) | |
tree | 79b5a36c18ef5097f1fa0b310607d5054b18baf3 | |
parent | ae58abeabbfc15eddff0e23cbf1a62c7bc50d3c8 (diff) | |
download | ffmpeg-3b03bde46e331aa301bd16c6c6e94c11e073e8f8.tar.gz |
avformat/async: Allow compilation with native threads.
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | libavformat/async.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2693,7 +2693,7 @@ x11grab_indev_deps="x11grab" x11grab_xcb_indev_deps="libxcb" # protocols -async_protocol_deps="pthreads" +async_protocol_deps="threads" bluray_protocol_deps="libbluray" ffrtmpcrypt_protocol_deps="!librtmp_protocol" ffrtmpcrypt_protocol_deps_any="gcrypt gmp openssl" diff --git a/libavformat/async.c b/libavformat/async.c index 003212d5b6..a01673dc6d 100644 --- a/libavformat/async.c +++ b/libavformat/async.c @@ -34,9 +34,9 @@ #include "libavutil/fifo.h" #include "libavutil/log.h" #include "libavutil/opt.h" +#include "libavutil/thread.h" #include "url.h" #include <stdint.h> -#include <pthread.h> #if HAVE_UNISTD_H #include <unistd.h> |