[FFmpeg-cvslog] ffmpeg: free_input_threads requires HAVE_PTHREADS

Christophe Gisquet git at videolan.org
Fri Jan 30 14:57:58 CET 2015


ffmpeg | branch: master | Christophe Gisquet <christophe.gisquet at 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 <michaelni at 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.



More information about the ffmpeg-cvslog mailing list