Commit d2077c86 authored by Michael Niedermayer's avatar Michael Niedermayer

Revert "ffmpeg: modify tty state when stderr is redirected"

faults in fate otherwise breaks the terminal.
To reproduce, add a abort() into wav_read_header()
run make fate-acodec-adpcm-ima_wav

This reverts commit 92e62f49.
parent 802e5129
......@@ -372,7 +372,7 @@ void term_init(void)
struct termios tty;
int istty = 1;
#if HAVE_ISATTY
istty = isatty(0);
istty = isatty(0) && isatty(2);
#endif
if (istty && tcgetattr (0, &tty) == 0) {
oldtty = tty;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment