From a2f4324bb649472b05a2f054c604fbddcc723ee1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Storsj=C3=B6?= Date: Fri, 24 Jul 2009 00:13:59 +0000 Subject: [PATCH] =?utf8?q?Check=20for=20HAVE=5FISATTY.=20Patch=20by=20Mart?= =?utf8?q?in=20Storsj=C3=B6=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Originally committed as revision 19505 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ffmpeg.c b/ffmpeg.c index 643166f939..b7fe947aa1 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3968,8 +3968,10 @@ int main(int argc, char **argv) avdevice_register_all(); av_register_all(); +#if HAVE_ISATTY if(isatty(STDIN_FILENO)) url_set_interrupt_cb(decode_interrupt_cb); +#endif for(i=0; i