avformat/async: Allow compilation with native threads.

This commit is contained in:
Matt Oliver 2015-09-30 13:41:53 +10:00
parent ae58abeabb
commit 3b03bde46e
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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"

View File

@ -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>