summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2010-06-10 16:51:14 +0000
committerDiego Biurrun <diego@biurrun.de>2010-06-10 16:51:14 +0000
commita1629e2848a6e2505788998a1aa7248b62c0be9e (patch)
tree826721080cd0fd4bf8668ff30287604ad7c5ea55 /ffmpeg.c
parentc1bdc9300b3c0b05d49a8a0e34a5249dfe1544f3 (diff)
Remove support for pre-Haiku, non-POSIX, non-C99 BeOS variants.
BeOS support has been broken for many years and the "maintainer" of the port has not reacted to countless requests to get the port fixed. approved by Mans Originally committed as revision 23562 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 8dae5c7664..cb691b1844 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -540,10 +540,6 @@ static void term_init(void)
#ifdef SIGXCPU
signal(SIGXCPU, sigterm_handler);
#endif
-
-#if CONFIG_BEOS_NETSERVER
- fcntl(0, F_SETFL, fcntl(0, F_GETFL) | O_NONBLOCK);
-#endif
}
/* read a key without blocking */
@@ -552,7 +548,6 @@ static int read_key(void)
#if HAVE_TERMIOS_H
int n = 1;
unsigned char ch;
-#if !CONFIG_BEOS_NETSERVER
struct timeval tv;
fd_set rfds;
@@ -561,7 +556,6 @@ static int read_key(void)
tv.tv_sec = 0;
tv.tv_usec = 0;
n = select(1, &rfds, NULL, NULL, &tv);
-#endif
if (n > 0) {
n = read(0, &ch, 1);
if (n == 1)