Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
e865945b
Commit
e865945b
authored
Mar 25, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Old RC: remove tautology
parent
28c44e4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/control/rc.c
modules/control/rc.c
+3
-3
No files found.
modules/control/rc.c
View file @
e865945b
...
...
@@ -476,7 +476,7 @@ static void *Run( void *data )
/* Listen to audio volume updates */
var_AddCallback
(
p_playlist
,
"volume"
,
VolumeChanged
,
p_intf
);
while
(
vlc_object_alive
(
p_intf
)
)
for
(
;;
)
{
char
*
psz_cmd
,
*
psz_arg
;
bool
b_complete
;
...
...
@@ -1861,7 +1861,7 @@ static bool ReadWin32( intf_thread_t *p_intf, char *p_buffer, int *pi_size )
while
(
WaitForSingleObject
(
p_intf
->
p_sys
->
hConsoleIn
,
INTF_IDLE_SLEEP
/
1000
)
==
WAIT_OBJECT_0
)
{
while
(
vlc_object_alive
(
p_intf
)
&&
*
pi_size
<
MAX_LINE_LENGTH
&&
while
(
*
pi_size
<
MAX_LINE_LENGTH
&&
ReadConsoleInput
(
p_intf
->
p_sys
->
hConsoleIn
,
&
input_record
,
1
,
&
i_dw
)
)
{
...
...
@@ -1931,7 +1931,7 @@ bool ReadCommand( intf_thread_t *p_intf, char *p_buffer, int *pi_size )
}
#endif
while
(
vlc_object_alive
(
p_intf
)
&&
*
pi_size
<
MAX_LINE_LENGTH
&&
while
(
*
pi_size
<
MAX_LINE_LENGTH
&&
(
i_read
=
net_Read
(
p_intf
,
p_intf
->
p_sys
->
i_socket
==
-
1
?
0
/*STDIN_FILENO*/
:
p_intf
->
p_sys
->
i_socket
,
NULL
,
(
uint8_t
*
)
p_buffer
+
*
pi_size
,
1
,
false
)
)
>
0
)
...
...
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