[FFmpeg-cvslog] r22604 - trunk/ffmpeg.c
mru
subversion
Sat Mar 20 02:02:45 CET 2010
Author: mru
Date: Sat Mar 20 02:02:45 2010
New Revision: 22604
Log:
10l: fix build without termios.h
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c Sat Mar 20 01:52:08 2010 (r22603)
+++ trunk/ffmpeg.c Sat Mar 20 02:02:45 2010 (r22604)
@@ -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;
More information about the ffmpeg-cvslog
mailing list