Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
b99c670c
Commit
b99c670c
authored
Oct 01, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix playlist enqueue RPC
parent
a0bac60a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/misc/win32_specific.c
src/misc/win32_specific.c
+4
-4
No files found.
src/misc/win32_specific.c
View file @
b99c670c
...
...
@@ -218,7 +218,7 @@ void system_Configure( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
COPYDATASTRUCT
wm_data
;
int
i_opt
;
vlc_ipc_data_t
*
p_data
;
size_t
i_data
=
sizeof
(
p_data
);
size_t
i_data
=
sizeof
(
*
p_data
);
for
(
i_opt
=
optind
;
i_opt
<
*
pi_argc
;
i_opt
++
)
{
...
...
@@ -240,6 +240,7 @@ void system_Configure( libvlc_int_t *p_this, int *pi_argc, char *ppsz_argv[] )
memcpy
(
&
p_data
[
i_data
],
ppsz_argv
[
i_opt
],
i_len
);
i_data
+=
i_len
;
}
i_data
+=
sizeof
(
*
p_data
);
/* Send our playlist items to the 1st instance */
wm_data
.
dwData
=
0
;
...
...
@@ -321,9 +322,8 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
ppsz_argv
=
(
char
**
)
malloc
(
i_argc
*
sizeof
(
char
*
)
);
for
(
i_opt
=
0
;
i_opt
<
i_argc
;
i_opt
++
)
{
ppsz_argv
[
i_opt
]
=
&
p_data
[
i_data
+
sizeof
(
int
)];
i_data
+=
*
((
int
*
)
&
p_data
[
i_data
]);
i_data
+=
sizeof
(
int
);
ppsz_argv
[
i_opt
]
=
p_data
->
data
+
i_data
+
sizeof
(
int
);
i_data
+=
sizeof
(
int
)
+
*
((
int
*
)(
p_data
->
data
+
i_data
));
}
for
(
i_opt
=
0
;
i_opt
<
i_argc
;
i_opt
++
)
...
...
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