[Ffmpeg-cvslog] r6341 - trunk/libavformat/utils.c

michael subversion
Tue Sep 26 19:25:28 CEST 2006


Author: michael
Date: Tue Sep 26 19:25:28 2006
New Revision: 6341

Modified:
   trunk/libavformat/utils.c

Log:
dont ignore MAX_READ_SIZE


Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	(original)
+++ trunk/libavformat/utils.c	Tue Sep 26 19:25:28 2006
@@ -1811,13 +1811,12 @@
                 ret = count;
                 break;
             }
-        } else {
+        }
             /* we did not get all the codec info, but we read too much data */
             if (read_size >= MAX_READ_SIZE) {
                 ret = count;
                 break;
             }
-        }
 
         /* NOTE: a new stream can be added there if no header in file
            (AVFMTCTX_NOHEADER) */




More information about the ffmpeg-cvslog mailing list