projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
673fc63
)
10l: fix build without termios.h
author
Måns Rullgård
<mans@mansr.com>
Sat, 20 Mar 2010 01:02:45 +0000
(
01:02
+0000)
committer
Måns Rullgård
<mans@mansr.com>
Sat, 20 Mar 2010 01:02:45 +0000
(
01:02
+0000)
Originally committed as revision 22604 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
blame
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
5e35022
..
951b0da
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-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;