[vlc-devel] [vlc-commits] Taglib: allow deletion of track and date

Rémi Denis-Courmont remi at remlab.net
Thu Dec 13 09:12:53 CET 2012


On Thu, 13 Dec 2012 00:12:34 +0100 (CET), git at videolan.org (Jean-Baptiste
Kempf) wrote:
> --- a/modules/meta_engine/taglib.cpp
> +++ b/modules/meta_engine/taglib.cpp
> @@ -874,11 +874,11 @@ static int WriteMeta( vlc_object_t *p_this )
>  #undef SET
>  
>      psz_meta = input_item_GetDate( p_item );
> -    if( !EMPTY_STR(psz_meta) ) p_tag->setYear( atoi( psz_meta ) );
> +    p_tag->setYear( atoi( psz_meta ) );

atoi(NULL) ?!

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list