diff options
Diffstat (limited to 'docs/examples/rtsp.c')
-rw-r--r-- | docs/examples/rtsp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/examples/rtsp.c b/docs/examples/rtsp.c index 5c00c145d..63c46e151 100644 --- a/docs/examples/rtsp.c +++ b/docs/examples/rtsp.c @@ -46,12 +46,12 @@ static int _getch(void) { struct termios oldt, newt; int ch; - tcgetattr( STDIN_FILENO, &oldt ); + tcgetattr(STDIN_FILENO, &oldt); newt = oldt; - newt.c_lflag &= ~( ICANON | ECHO ); - tcsetattr( STDIN_FILENO, TCSANOW, &newt ); + newt.c_lflag &= ~( ICANON | ECHO); + tcsetattr(STDIN_FILENO, TCSANOW, &newt); ch = getchar(); - tcsetattr( STDIN_FILENO, TCSANOW, &oldt ); + tcsetattr(STDIN_FILENO, TCSANOW, &oldt); return ch; } #endif |