diff src/ffmpeg/libavformat/utils.c @ 866:d8b8b36d2709 trunk

[svn] - prevent skin list overlap when it's first populated and user quickly switchs to other tabs in the prefswin
author giacomo
date Fri, 16 Mar 2007 18:47:24 -0700
parents dec0488e1344
children d9c7b1d413c9
line wrap: on
line diff
--- a/src/ffmpeg/libavformat/utils.c	Fri Mar 16 13:41:19 2007 -0700
+++ b/src/ffmpeg/libavformat/utils.c	Fri Mar 16 18:47:24 2007 -0700
@@ -481,7 +481,7 @@
             url_setbufsize(pb, buf_size);
         }
 
-        for(probe_size= PROBE_BUF_MIN; probe_size<=PROBE_BUF_MAX && !fmt; probe_size<<=1){
+        for(probe_size= PROBE_BUF_MAX; 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);