[vlc-devel] commit: Use NULL for pointer ( Sébastien Escudier )
git version control
git at videolan.org
Fri Dec 12 20:23:23 CET 2008
vlc | branch: master | Sébastien Escudier <sebastien-devel at celeos.eu> | Fri Dec 12 10:05:47 2008 +0100| [f20144370fb4526c1ef6ffea446084aaacb95f91] | committer: Rémi Duraffort
Use NULL for pointer
Signed-off-by: Rémi Duraffort <ivoire at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f20144370fb4526c1ef6ffea446084aaacb95f91
---
src/input/vlm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/input/vlm.c b/src/input/vlm.c
index 42a7036..7e1721f 100644
--- a/src/input/vlm.c
+++ b/src/input/vlm.c
@@ -521,7 +521,7 @@ static int vlm_OnMediaUpdate( vlm_t *p_vlm, vlm_media_sys_t *p_media )
for( i = 0; i < p_cfg->i_option; i++ )
input_item_AddOption( p_media->vod.p_item,
- p_cfg->ppsz_option[i] );
+ p_cfg->ppsz_option[i] );
if( asprintf( &psz_header, _("Media: %s"), p_cfg->psz_name ) == -1 )
psz_header = NULL;
@@ -614,7 +614,7 @@ static int vlm_ControlMediaAdd( vlm_t *p_vlm, vlm_media_t *p_cfg, int64_t *p_id
msg_Err( p_vlm, "cannot find vod server" );
vlc_object_detach( p_vlm->p_vod );
vlc_object_release( p_vlm->p_vod );
- p_vlm->p_vod = 0;
+ p_vlm->p_vod = NULL;
return VLC_EGENERIC;
}
More information about the vlc-devel
mailing list