[FFmpeg-cvslog] tls_gnutls: Add missing includes for the gcrypt thread safety callbacks
Martin Storsjö
git at videolan.org
Thu May 28 21:28:12 CEST 2015
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Thu May 28 10:18:49 2015 +0300| [d4d90504a687d2c0ef77ccf11d831f24dcff9cf1] | committer: Martin Storsjö
tls_gnutls: Add missing includes for the gcrypt thread safety callbacks
This fixes building with gcrypt-backed gnutls versions, broken
in 57cde2b180.
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d4d90504a687d2c0ef77ccf11d831f24dcff9cf1
---
libavformat/tls_gnutls.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/tls_gnutls.c b/libavformat/tls_gnutls.c
index 1d3f57c..0fade36 100644
--- a/libavformat/tls_gnutls.c
+++ b/libavformat/tls_gnutls.c
@@ -37,6 +37,7 @@
#if HAVE_THREADS && GNUTLS_VERSION_NUMBER <= 0x020b00
#include <gcrypt.h>
+#include "libavutil/thread.h"
GCRY_THREAD_OPTION_PTHREAD_IMPL;
#endif
More information about the ffmpeg-cvslog
mailing list