Browse Source

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>
tags/n2.6
Christophe Gisquet Michael Niedermayer 11 years ago
parent
commit
1fa637d2ef
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ffmpeg.c

+ 2
- 1
ffmpeg.c View File

@@ -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.


Loading…
Cancel
Save