Mercurial > audlegacy-plugins
comparison 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 |
comparison
equal
deleted
inserted
replaced
866:d8b8b36d2709 | 867:d9c7b1d413c9 |
---|---|
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_MAX; probe_size<=PROBE_BUF_MAX && !fmt; probe_size<<=1){ | 484 for(probe_size= PROBE_BUF_MIN; 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); |