diff src/aac/mp4ff/mp4ff.c @ 451:5826c77f4acf trunk

[svn] - various overflow and security-related fixes from XMMS2 (mainly Juho Vaha-Herttua, et al)
author nenolod
date Wed, 17 Jan 2007 00:56:53 -0800
parents 357de698dab2
children 3d6a2732f26a
line wrap: on
line diff
--- a/src/aac/mp4ff/mp4ff.c	Wed Jan 17 00:29:28 2007 -0800
+++ b/src/aac/mp4ff/mp4ff.c	Wed Jan 17 00:56:53 2007 -0800
@@ -141,13 +141,6 @@
         f->file_size += size;
         f->last_atom = atom_type;
 
-        if (atom_type == ATOM_MDAT && f->moov_read)
-        {
-            /* moov atom is before mdat, we can stop reading when mdat is encountered */
-            /* file position will stay at beginning of mdat data */
-//            break;
-        }
-
         if (atom_type == ATOM_MOOV && size > header_size)
         {
             f->moov_read = 1;