From 1fa637d2ef00bf1fddd310221d849cc6ccc139b3 Mon Sep 17 00:00:00 2001 From: Christophe Gisquet Date: Fri, 30 Jan 2015 13:09:02 +0000 Subject: ffmpeg: free_input_threads requires HAVE_PTHREADS Hide behind that macro to avoid warning on systems with !HAVE_PTHREADS. Signed-off-by: Michael Niedermayer --- ffmpeg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index b836448606..29f61da381 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. -- cgit v1.2.3