OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abfc8d0
)
Check for HAVE_ISATTY.
author
Martin Storsjö
<martin@martin.st>
Fri, 24 Jul 2009 00:13:59 +0000
(
00:13
+0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Fri, 24 Jul 2009 00:13:59 +0000
(
00:13
+0000)
Patch by Martin Storsjö <martin at martin dot st>
Originally committed as revision 19505 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
643166f
..
b7fe947
100644
(file)
--- 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<CODEC_TYPE_NB; i++){
avcodec_opts[i]= avcodec_alloc_context2(i);