Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
ed641fe3
Commit
ed641fe3
authored
Jun 18, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: remove uneeded cast.
parent
cf190075
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/control/rc.c
modules/control/rc.c
+8
-8
No files found.
modules/control/rc.c
View file @
ed641fe3
...
@@ -1735,7 +1735,7 @@ static int AudioConfig( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -1735,7 +1735,7 @@ static int AudioConfig( vlc_object_t *p_this, char const *psz_cmd,
}
}
/* Get the descriptive name of the variable */
/* Get the descriptive name of the variable */
var_Change
(
(
vlc_object_t
*
)
p_aout
,
psz_variable
,
VLC_VAR_GETTEXT
,
var_Change
(
p_aout
,
psz_variable
,
VLC_VAR_GETTEXT
,
&
val_name
,
NULL
);
&
val_name
,
NULL
);
if
(
!
val_name
.
psz_string
)
val_name
.
psz_string
=
strdup
(
psz_variable
);
if
(
!
val_name
.
psz_string
)
val_name
.
psz_string
=
strdup
(
psz_variable
);
...
@@ -1745,17 +1745,17 @@ static int AudioConfig( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -1745,17 +1745,17 @@ static int AudioConfig( vlc_object_t *p_this, char const *psz_cmd,
vlc_value_t
val
,
text
;
vlc_value_t
val
,
text
;
int
i
,
i_value
;
int
i
,
i_value
;
if
(
var_Get
(
(
vlc_object_t
*
)
p_aout
,
psz_variable
,
&
val
)
<
0
)
if
(
var_Get
(
p_aout
,
psz_variable
,
&
val
)
<
0
)
{
{
vlc_object_release
(
(
vlc_object_t
*
)
p_aout
);
vlc_object_release
(
p_aout
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
i_value
=
val
.
i_int
;
i_value
=
val
.
i_int
;
if
(
var_Change
(
(
vlc_object_t
*
)
p_aout
,
psz_variable
,
if
(
var_Change
(
p_aout
,
psz_variable
,
VLC_VAR_GETLIST
,
&
val
,
&
text
)
<
0
)
VLC_VAR_GETLIST
,
&
val
,
&
text
)
<
0
)
{
{
vlc_object_release
(
(
vlc_object_t
*
)
p_aout
);
vlc_object_release
(
p_aout
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -1780,9 +1780,9 @@ static int AudioConfig( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -1780,9 +1780,9 @@ static int AudioConfig( vlc_object_t *p_this, char const *psz_cmd,
vlc_value_t
val
;
vlc_value_t
val
;
val
.
i_int
=
atoi
(
newval
.
psz_string
);
val
.
i_int
=
atoi
(
newval
.
psz_string
);
i_error
=
var_Set
(
(
vlc_object_t
*
)
p_aout
,
psz_variable
,
val
);
i_error
=
var_Set
(
p_aout
,
psz_variable
,
val
);
}
}
vlc_object_release
(
(
vlc_object_t
*
)
p_aout
);
vlc_object_release
(
p_aout
);
return
i_error
;
return
i_error
;
}
}
...
...
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