ffmpeg | branch: master | Christophe Gisquet <christophe.gisq...@gmail.com> | 
Fri Jan 30 13:09:02 2015 +0000| [1fa637d2ef00bf1fddd310221d849cc6ccc139b3] | 
committer: Michael Niedermayer

ffmpeg: free_input_threads requires HAVE_PTHREADS

Hide behind that macro to avoid warning on systems with
!HAVE_PTHREADS.

Signed-off-by: Michael Niedermayer <michae...@gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1fa637d2ef00bf1fddd310221d849cc6ccc139b3
---

 ffmpeg.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index b836448..29f61da 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -155,8 +155,9 @@ static struct termios oldtty;
 static int restore_tty;
 #endif
 
+#if HAVE_PTHREADS
 static void free_input_threads(void);
-
+#endif
 
 /* sub2video hack:
    Convert subtitles to video with alpha to insert them in filter graphs.

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to