1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00

10l: fix build without termios.h

Originally committed as revision 22604 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-03-20 01:02:45 +00:00
parent 673fc6388f
commit 64f6e357fd

View File

@ -318,12 +318,14 @@ typedef struct AVInputFile {
/* init terminal so that we can grab keys */
static struct termios oldtty;
#endif
static void term_exit(void)
{
#if HAVE_TERMIOS_H
tcsetattr (0, TCSANOW, &oldtty);
}
#endif
}
static volatile int received_sigterm = 0;