vlc | branch: master | Frédéric Yhuel <[email protected]> | Fri Mar 16 
15:23:30 2012 +0100| [5ed8741fe14e4c6b6c084ff54b3c74fd016b34c4] | committer: 
Jean-Baptiste Kempf

demux/mp4: remove a memset following a calloc

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5ed8741fe14e4c6b6c084ff54b3c74fd016b34c4
---

 modules/demux/mp4/mp4.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index a12ee42..6fc3721 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -495,7 +495,6 @@ static int Open( vlc_object_t * p_this )
     p_sys->track = calloc( p_sys->i_tracks, sizeof( mp4_track_t ) );
     if( p_sys->track == NULL )
         goto error;
-    memset( p_sys->track, 0, p_sys->i_tracks * sizeof( mp4_track_t ) );
 
     /* Search the first chap reference (like quicktime) and
      * check that at least 1 stream is enabled */

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to