[vlc-devel] commit: Fix size of VOD objects ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Mar 29 12:58:19 CET 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sat Mar 29 13:58:49 2008 +0200| [a9a95bcee8725f94b6057073778c1721785569d7]
Fix size of VOD objects
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a9a95bcee8725f94b6057073778c1721785569d7
---
src/input/vlm.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/input/vlm.c b/src/input/vlm.c
index 62705f9..38458e7 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -121,7 +121,7 @@ vlm_t *__vlm_New ( vlc_object_t *p_this )
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 );
if( !p_vlm )
{
@@ -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 */
if( p_cfg->b_vod && !p_vlm->i_vod )
{
- p_vlm->p_vod = vlc_custom_create( VLC_OBJECT(p_vlm),
- sizeof( p_vlm->p_vod ),
+ p_vlm->p_vod = vlc_custom_create( VLC_OBJECT(p_vlm), sizeof( vod_t ),
VLC_OBJECT_GENERIC, "vod server" );
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 );
More information about the vlc-devel
mailing list