Browse code

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>

Christophe Gisquet authored on 2015/01/30 22:09:02
Showing 1 changed files
... ...
@@ -155,8 +155,9 @@ static struct termios oldtty;
155 155
 static int restore_tty;
156 156
 #endif
157 157
 
158
+#if HAVE_PTHREADS
158 159
 static void free_input_threads(void);
159
-
160
+#endif
160 161
 
161 162
 /* sub2video hack:
162 163
    Convert subtitles to video with alpha to insert them in filter graphs.