diff src/ffmpeg/libavformat/utils.c @ 867:d9c7b1d413c9 trunk

[svn] - last commit wasn't obviously related wit changes here; revert stuff that is still being tested
author giacomo
date Fri, 16 Mar 2007 18:58:10 -0700
parents d8b8b36d2709
children
line wrap: on
line diff
--- a/src/ffmpeg/libavformat/utils.c	Fri Mar 16 18:47:24 2007 -0700
+++ b/src/ffmpeg/libavformat/utils.c	Fri Mar 16 18:58:10 2007 -0700
@@ -481,7 +481,7 @@
             url_setbufsize(pb, buf_size);
         }
 
-        for(probe_size= PROBE_BUF_MAX; probe_size<=PROBE_BUF_MAX && !fmt; probe_size<<=1){
+        for(probe_size= PROBE_BUF_MIN; probe_size<=PROBE_BUF_MAX && !fmt; probe_size<<=1){
             /* read probe data */
             pd->buf= av_realloc(pd->buf, probe_size);
             pd->buf_size = get_buffer(pb, pd->buf, probe_size);