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
a9a95bce
Commit
a9a95bce
authored
Mar 29, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix size of VOD objects
parent
a9d773c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/input/vlm.c
src/input/vlm.c
+2
-3
No files found.
src/input/vlm.c
View file @
a9a95bce
...
@@ -121,7 +121,7 @@ vlm_t *__vlm_New ( vlc_object_t *p_this )
...
@@ -121,7 +121,7 @@ vlm_t *__vlm_New ( vlc_object_t *p_this )
msg_Dbg
(
p_this
,
"creating VLM"
);
msg_Dbg
(
p_this
,
"creating VLM"
);
p_vlm
=
vlc_custom_create
(
p_this
,
sizeof
(
*
p_vlm
),
VLC_OBJECT_VLM
,
p_vlm
=
vlc_custom_create
(
p_this
,
sizeof
(
*
p_vlm
),
VLC_OBJECT_VLM
,
vlm_object_name
);
vlm_object_name
);
if
(
!
p_vlm
)
if
(
!
p_vlm
)
{
{
...
@@ -2334,8 +2334,7 @@ static int vlm_ControlMediaAdd( vlm_t *p_vlm, vlm_media_t *p_cfg, int64_t *p_id
...
@@ -2334,8 +2334,7 @@ static int vlm_ControlMediaAdd( vlm_t *p_vlm, vlm_media_t *p_cfg, int64_t *p_id
/* Check if we need to load the VOD server */
/* Check if we need to load the VOD server */
if
(
p_cfg
->
b_vod
&&
!
p_vlm
->
i_vod
)
if
(
p_cfg
->
b_vod
&&
!
p_vlm
->
i_vod
)
{
{
p_vlm
->
p_vod
=
vlc_custom_create
(
VLC_OBJECT
(
p_vlm
),
p_vlm
->
p_vod
=
vlc_custom_create
(
VLC_OBJECT
(
p_vlm
),
sizeof
(
vod_t
),
sizeof
(
p_vlm
->
p_vod
),
VLC_OBJECT_GENERIC
,
"vod server"
);
VLC_OBJECT_GENERIC
,
"vod server"
);
vlc_object_attach
(
p_vlm
->
p_vod
,
p_vlm
);
vlc_object_attach
(
p_vlm
->
p_vod
,
p_vlm
);
p_vlm
->
p_vod
->
p_module
=
module_Need
(
p_vlm
->
p_vod
,
"vod server"
,
0
,
0
);
p_vlm
->
p_vod
->
p_module
=
module_Need
(
p_vlm
->
p_vod
,
"vod server"
,
0
,
0
);
...
...
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