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
a45052aa
Commit
a45052aa
authored
Jul 09, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remoteosd: use memset()
parent
75615261
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
modules/video_filter/remoteosd.c
modules/video_filter/remoteosd.c
+2
-7
No files found.
modules/video_filter/remoteosd.c
View file @
a45052aa
...
@@ -256,13 +256,8 @@ static int CreateFilter ( vlc_object_t *p_this )
...
@@ -256,13 +256,8 @@ static int CreateFilter ( vlc_object_t *p_this )
p_sys
->
i_alpha
=
var_CreateGetIntegerCommand
(
p_this
,
RMTOSD_CFG
"alpha"
);
p_sys
->
i_alpha
=
var_CreateGetIntegerCommand
(
p_this
,
RMTOSD_CFG
"alpha"
);
for
(
int
i
=
0
;
i
<
256
;
i
++
)
memset
(
p_sys
->
ar_color_table_yuv
,
255
,
{
sizeof
(
p_sys
->
ar_color_table_yuv
)
);
p_sys
->
ar_color_table_yuv
[
i
][
0
]
=
255
;
p_sys
->
ar_color_table_yuv
[
i
][
1
]
=
255
;
p_sys
->
ar_color_table_yuv
[
i
][
2
]
=
255
;
p_sys
->
ar_color_table_yuv
[
i
][
3
]
=
255
;
}
/* Keep track of OSD Events */
/* Keep track of OSD Events */
p_sys
->
b_need_update
=
false
;
p_sys
->
b_need_update
=
false
;
...
...
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