Hide behind that macro to avoid warning on systems with !HAVE_PTHREADS. --- ffmpeg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ffmpeg.c b/ffmpeg.c index b836448..9b7d585 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. @@ -3383,6 +3384,7 @@ static void *input_thread(void *arg) return NULL; } +#if HAVE_PTHREADS static void free_input_threads(void) { int i; @@ -3402,6 +3404,7 @@ static void free_input_threads(void) av_thread_message_queue_free(&f->in_thread_queue); } } +#endif static int init_input_threads(void) { -- 1.9.2.msysgit.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel