[FFmpeg-devel] [PATCH 1/2] w32thread: add missing #include thread.h

Mans Rullgard mans
Wed Feb 9 21:15:38 CET 2011


This should fix building with win32 threads.

Signed-off-by: Mans Rullgard <mans at mansr.com>
---
 libavcodec/w32thread.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/w32thread.c b/libavcodec/w32thread.c
index 1659fd3..f2b8f5b 100644
--- a/libavcodec/w32thread.c
+++ b/libavcodec/w32thread.c
@@ -20,6 +20,7 @@
 //#define DEBUG
 
 #include "avcodec.h"
+#include "thread.h"
 
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
-- 
1.7.4




More information about the ffmpeg-devel mailing list