ffmpeg | branch: master | Ganesh Ajjanagadde <gajjanaga...@gmail.com> | Mon Jul 27 09:56:25 2015 -0400| [92e62f49cf7440a9e8998d284528e223c0948c97] | committer: Michael Niedermayer
ffmpeg: modify tty state when stderr is redirected This fixes Ticket2964 Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com> Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=92e62f49cf7440a9e8998d284528e223c0948c97 --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 5575e2f..eb3f613 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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog