Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
c9be56de
Commit
c9be56de
authored
Aug 01, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32 screen access: use correct type
parent
e70c5630
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/access/screen/win32.c
modules/access/screen/win32.c
+3
-3
No files found.
modules/access/screen/win32.c
View file @
c9be56de
...
...
@@ -151,7 +151,7 @@ struct block_sys_t
static
void
CaptureBlockRelease
(
block_t
*
p_block
)
{
DeleteObject
(
((
block_sys_t
*
)
p_block
)
->
hbmp
);
DeleteObject
(
((
struct
block_sys_t
*
)
p_block
)
->
hbmp
);
free
(
p_block
);
}
...
...
@@ -159,7 +159,7 @@ static block_t *CaptureBlockNew( demux_t *p_demux )
{
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
screen_data_t
*
p_data
=
p_sys
->
p_data
;
block_sys_t
*
p_block
;
struct
block_sys_t
*
p_block
;
void
*
p_buffer
;
int
i_buffer
;
HBITMAP
hbmp
;
...
...
@@ -214,7 +214,7 @@ static block_t *CaptureBlockNew( demux_t *p_demux )
}
/* Build block */
if
(
!
(
p_block
=
malloc
(
sizeof
(
block_t
)
+
sizeof
(
block_sys_t
)
))
)
if
(
!
(
p_block
=
malloc
(
sizeof
(
block_t
)
+
sizeof
(
struct
block_sys_t
)
))
)
goto
error
;
/* Fill all fields */
...
...
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