aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2015-01-30 13:09:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2015-01-30 14:47:08 +0100
commit1fa637d2ef00bf1fddd310221d849cc6ccc139b3 (patch)
tree5cb8b8638abc6742422b38cf108b49e4aaabe2d1 /ffmpeg.c
parent40b026b1d0a33684ec28fd7db03e250671babefa (diff)
downloadffmpeg-1fa637d2ef00bf1fddd310221d849cc6ccc139b3.tar.gz
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@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 2 insertions, 1 deletions
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.