[vlc-commits] commit: Input item URI cannot be NULL ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Mar 2 20:30:22 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 2 21:24:29 2010 +0200| [8bf4be30381fa0474cf8de4f3655233abef8bad5] | committer: Rémi Denis-Courmont
Input item URI cannot be NULL
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8bf4be30381fa0474cf8de4f3655233abef8bad5
---
src/input/item.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/input/item.c b/src/input/item.c
index 416ec19..f10067a 100644
--- a/src/input/item.c
+++ b/src/input/item.c
@@ -357,8 +357,10 @@ char *input_item_GetURI( input_item_t *p_i )
vlc_mutex_unlock( &p_i->lock );
return psz_s;
}
+
void input_item_SetURI( input_item_t *p_i, const char *psz_uri )
{
+ assert( psz_uri );
#ifndef NDEBUG
if( !strstr( psz_uri, "://" )
|| strchr( psz_uri, ' ' ) || strchr( psz_uri, '"' ) )
More information about the vlc-commits
mailing list