diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-20 01:02:45 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-20 01:02:45 +0000 |
commit | 64f6e357fdf955e67017dfd34ed06b1478b403e2 (patch) | |
tree | 28b2981a2d01a46b23ecd64488f31a85279729e1 /ffmpeg.c | |
parent | 673fc6388f009d50c59e2ac75b4ab4de05f7fe26 (diff) | |
download | ffmpeg-64f6e357fdf955e67017dfd34ed06b1478b403e2.tar.gz |
10l: fix build without termios.h
Originally committed as revision 22604 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |