X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcontrol%2Ftag_query.c;h=42519cb9c1d25ff7cbc0c8dc22b2689fba07244f;hb=6ee1e193fd896ab9a4729fde14f009d9ce629815;hp=f804e6abca61b872434d301d60d461d44dae4907;hpb=3305b049e7f587b23359a1c9047fb5763d19c1dc;p=vlc diff --git a/src/control/tag_query.c b/src/control/tag_query.c index f804e6abca..42519cb9c1 100644 --- a/src/control/tag_query.c +++ b/src/control/tag_query.c @@ -25,7 +25,7 @@ #include "vlc_arrays.h" /* XXX This API is in construction - * + * * It's goal is to represent a meta tag query * It should be also able to say if a query can be matched in a media * descriptor through libvlc_query_match. @@ -44,20 +44,20 @@ libvlc_tag_query_t * libvlc_tag_query_new( libvlc_instance_t * p_inst, libvlc_exception_t * p_e ) { - (void)p_e; + (void)p_e; libvlc_tag_query_t * p_q; - p_q = malloc(sizeof(libvlc_tag_query_t)); + p_q = malloc(sizeof(libvlc_tag_query_t)); - if( !p_q ) - return NULL; - - p_q->p_libvlc_instance = p_inst; + if( !p_q ) + return NULL; + + p_q->p_libvlc_instance = p_inst; p_q->i_refcount = 1; p_q->tag = NULL; p_q->psz_tag_key = NULL; - return p_q; + return p_q; } /************************************************************************** @@ -74,8 +74,8 @@ void libvlc_tag_query_release( libvlc_tag_query_t * p_q ) free( p_q->tag ); free( p_q->psz_tag_key ); - - free( p_q ); + + free( p_q ); } /************************************************************************** @@ -85,7 +85,7 @@ void libvlc_tag_query_release( libvlc_tag_query_t * p_q ) **************************************************************************/ void libvlc_tag_query_retain( libvlc_tag_query_t * p_q ) { - p_q->i_refcount++; + p_q->i_refcount++; } /************************************************************************** @@ -115,7 +115,7 @@ libvlc_tag_query_match( libvlc_tag_query_t * p_q, int i; struct libvlc_tags_storage_t * p_ts; (void)p_e; - + if( !p_q->psz_tag_key ) return 1;