diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2016-09-07 19:16:27 -0500 |
---|---|---|
committer | Rodger Combs <rodger.combs@gmail.com> | 2016-10-06 18:31:06 -0500 |
commit | 1f7d5860525ad9b7540502ce01b2f239eada8e87 (patch) | |
tree | 24e37f9801eadbd5f540927107ab80a53f7c826f /ffmpeg_opt.c | |
parent | 711bfb33df4efa252a85d2d6987c435d0eef1a48 (diff) | |
download | ffmpeg-1f7d5860525ad9b7540502ce01b2f239eada8e87.tar.gz |
ffmpeg: don't reconfigure terminal if we're not taking input from stdin
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index d202f4396c..bea2829e4a 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -3160,6 +3160,9 @@ int ffmpeg_parse_options(int argc, char **argv) goto fail; } + /* configure terminal and setup signal handlers */ + term_init(); + /* open input files */ ret = open_files(&octx.groups[GROUP_INFILE], "input", open_input_file); if (ret < 0) { |