Mercurial > audlegacy-plugins
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 865:d94881463e1f | 866:d8b8b36d2709 |
|---|---|
| 479 file_opened = 1; | 479 file_opened = 1; |
| 480 if (buf_size > 0) { | 480 if (buf_size > 0) { |
| 481 url_setbufsize(pb, buf_size); | 481 url_setbufsize(pb, buf_size); |
| 482 } | 482 } |
| 483 | 483 |
| 484 for(probe_size= PROBE_BUF_MIN; probe_size<=PROBE_BUF_MAX && !fmt; probe_size<<=1){ | 484 for(probe_size= PROBE_BUF_MAX; probe_size<=PROBE_BUF_MAX && !fmt; probe_size<<=1){ |
| 485 /* read probe data */ | 485 /* read probe data */ |
| 486 pd->buf= av_realloc(pd->buf, probe_size); | 486 pd->buf= av_realloc(pd->buf, probe_size); |
| 487 pd->buf_size = get_buffer(pb, pd->buf, probe_size); | 487 pd->buf_size = get_buffer(pb, pd->buf, probe_size); |
| 488 if (url_fseek(pb, 0, SEEK_SET) == (offset_t)-EPIPE) { | 488 if (url_fseek(pb, 0, SEEK_SET) == (offset_t)-EPIPE) { |
| 489 url_fclose(pb); | 489 url_fclose(pb); |
