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
a2846406
Commit
a2846406
authored
Jul 12, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
osd: Remove a number of unneeded cast.
parent
33a0f4dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/osd/osd.c
src/osd/osd.c
+4
-4
No files found.
src/osd/osd.c
View file @
a2846406
...
...
@@ -728,7 +728,7 @@ osd_button_t *__osd_ButtonFind( vlc_object_t *p_this, int i_x, int i_y,
if
(
osd_isVisible
(
p_osd
)
==
false
)
{
vlc_object_release
(
(
vlc_object_t
*
)
p_osd
);
vlc_object_release
(
p_osd
);
return
NULL
;
}
...
...
@@ -781,13 +781,13 @@ osd_button_t *__osd_ButtonFind( vlc_object_t *p_this, int i_x, int i_y,
if
(
(
i_x
>=
i_x_offset
)
&&
(
i_x
<=
i_x_offset
+
i_width
)
&&
(
i_y
>=
i_y_offset
)
&&
(
i_y
<=
i_y_offset
+
i_height
)
)
{
vlc_object_release
(
(
vlc_object_t
*
)
p_osd
);
vlc_object_release
(
p_osd
);
vlc_mutex_unlock
(
lockval
.
p_address
);
return
p_button
;
}
}
vlc_object_release
(
(
vlc_object_t
*
)
p_osd
);
vlc_object_release
(
p_osd
);
vlc_mutex_unlock
(
lockval
.
p_address
);
return
NULL
;
}
...
...
@@ -839,6 +839,6 @@ void __osd_ButtonSelect( vlc_object_t *p_this, osd_button_t *p_button )
msg_Dbg
(
p_osd
,
"button selected is [button %s]"
,
p_osd
->
p_state
->
p_visible
->
psz_action
);
#endif
vlc_object_release
(
(
vlc_object_t
*
)
p_osd
);
vlc_object_release
(
p_osd
);
vlc_mutex_unlock
(
lockval
.
p_address
);
}
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