Changeset 132030acbbe9d9d69bed8e1382515a0060e9bf45

Show
Ignore:
Timestamp:
01/08/08 23:07:16 (4 months ago)
Author:
Rémi Duraffort <ivoire@videolan.org>
git-committer:
Rémi Duraffort <ivoire@videolan.org> 1217624836 +0200
git-parent:

[ea93da268c6617a0c5c98a2125b9aa27eba19d6d]

git-author:
Rémi Duraffort <ivoire@videolan.org> 1217624836 +0200
Message:

Fix compiler warning about asprintf return value.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/demux/flac.c

    r730a93d r132030a  
    621621        { \ 
    622622            char * newval; \ 
    623             asprintf( &newval, "%s,%s", oldval, &psz[strlen(txt)] ); \ 
     623            if( asprintf( &newval, "%s,%s", oldval, &psz[strlen(txt)] ) == -1 ) \ 
     624                newval = NULL; \ 
    624625            vlc_meta_Set( p_sys->p_meta, vlc_meta_ ## var, newval ); \ 
    625626            free( newval ); \