Changeset e23d890e54e3299a31192e878fbfbfb096520040

Show
Ignore:
Timestamp:
16/09/07 10:58:37 (1 year ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1189933117 +0000
git-parent:

[d001ebd4a0973a9dd70d8051dfd8e05e470939c2]

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

Partial memory error handling

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/video_output/vout_intf.c

    rf02445b re23d890  
    662662    if ( path != NULL ) 
    663663    { 
    664         char *psz_prefix = var_GetString( p_vout, "snapshot-prefix" ); 
    665         if( !psz_prefix ) psz_prefix = strdup( "vlcsnap-" ); 
     664        char *psz_prefix = var_GetNonEmptyString( p_vout, "snapshot-prefix" ); 
     665        if( psz_prefix == NULL ) 
     666            psz_prefix = strdup( "vlcsnap-" ); 
    666667        else 
    667668        {