Commit 5ed8741f authored by Frédéric Yhuel's avatar Frédéric Yhuel Committed by Jean-Baptiste Kempf

demux/mp4: remove a memset following a calloc

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 0b1b7516
...@@ -495,7 +495,6 @@ static int Open( vlc_object_t * p_this ) ...@@ -495,7 +495,6 @@ static int Open( vlc_object_t * p_this )
p_sys->track = calloc( p_sys->i_tracks, sizeof( mp4_track_t ) ); p_sys->track = calloc( p_sys->i_tracks, sizeof( mp4_track_t ) );
if( p_sys->track == NULL ) if( p_sys->track == NULL )
goto error; goto error;
memset( p_sys->track, 0, p_sys->i_tracks * sizeof( mp4_track_t ) );
/* Search the first chap reference (like quicktime) and /* Search the first chap reference (like quicktime) and
* check that at least 1 stream is enabled */ * check that at least 1 stream is enabled */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment