Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
93147daf
Commit
93147daf
authored
Jun 06, 2012
by
Reimar Döffinger
Committed by
Michael Niedermayer
Jun 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg: avoid a confusing and easy to break if().
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
bb321245
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ffmpeg.c
ffmpeg.c
+3
-2
No files found.
ffmpeg.c
View file @
93147daf
...
...
@@ -1217,10 +1217,11 @@ static void term_init(void)
#if HAVE_TERMIOS_H
if
(
!
run_as_daemon
){
struct
termios
tty
;
int
istty
=
1
;
#if HAVE_ISATTY
i
f
(
isatty
(
0
)
&&
isatty
(
2
))
i
stty
=
isatty
(
0
)
&&
isatty
(
2
);
#endif
if
(
tcgetattr
(
0
,
&
tty
)
==
0
)
{
if
(
istty
&&
tcgetattr
(
0
,
&
tty
)
==
0
)
{
oldtty
=
tty
;
restore_tty
=
1
;
atexit
(
term_exit
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment