Changeset b5d134fcb108cf6721d2ed06131961ae132675d0

Show
Ignore:
Timestamp:
09/01/07 19:32:18 (1 year ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1188667938 +0000
git-parent:

[7fd6e102f11283eb73be23ff18b790ac0d46fc84]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1188667938 +0000
Message:

Fix a few warnings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/input/es_out.c

    rcc3bd15 rb5d134f  
    737737    es_out_pgrm_t     *p_pgrm = NULL; 
    738738    char *psz_cat; 
    739     char *psz_epg; 
    740739    int i; 
    741740 
     
    760759    psz_cat = EsOutProgramGetMetaName( p_pgrm ); 
    761760#ifdef HAVE_LOCALTIME_R 
    762     asprintf( &psz_epg, "EPG %s", psz_cat ); 
     761    char *psz_epg; 
     762    if( asprintf( &psz_epg, "EPG %s", psz_cat ) == -1 ) 
     763        psz_epg = NULL; 
    763764    input_Control( p_input, INPUT_DEL_INFO, psz_epg, NULL ); 
    764765    msg_Dbg( p_input, "EsOutProgramEpg: number=%d name=%s", i_group, p_pgrm->p_epg->psz_name );