Changeset 316246df734f1b30ec84e381703241921116529f

Show
Ignore:
Timestamp:
07/02/08 19:39:43 (10 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1202409583 +0000
git-parent:

[12f7359b0463047cafac97bb362b931de8164e83]

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

Memory allocation error check

Files:

Legend:

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

    r99fab90 r316246d  
    11171117    p_demux_track->chunk = calloc( p_demux_track->i_chunk_count, 
    11181118                                   sizeof( mp4_chunk_t ) ); 
     1119    if( p_demux_track->chunk == NULL ) 
     1120    { 
     1121        return VLC_ENOMEM; 
     1122    } 
    11191123 
    11201124    /* first we read chunk offset */