This fixes Ticket2964
Signed-off-by: Ganesh Ajjanagadde <[email protected]>
---
ffmpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 751c7d3..98f812e 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -372,7 +372,7 @@ void term_init(void)
struct termios tty;
int istty = 1;
#if HAVE_ISATTY
- istty = isatty(0) && isatty(2);
+ istty = isatty(0);
#endif
if (istty && tcgetattr (0, &tty) == 0) {
oldtty = tty;
--
2.4.6
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel