Revision 3940caad libavformat/utils.c

View differences:

libavformat/utils.c
524 524
#define PROBE_BUF_MIN 2048
525 525
#define PROBE_BUF_MAX (1<<20)
526 526

  
527
int ff_probe_input_buffer(ByteIOContext *pb, AVInputFormat **fmt,
527
int av_probe_input_buffer(ByteIOContext *pb, AVInputFormat **fmt,
528 528
                          const char *filename, void *logctx,
529 529
                          unsigned int offset, unsigned int max_probe_size)
530 530
{
......
622 622
        if (buf_size > 0) {
623 623
            url_setbufsize(pb, buf_size);
624 624
        }
625
        if (!fmt && (err = ff_probe_input_buffer(pb, &fmt, filename, logctx, 0, logctx ? (*ic_ptr)->probesize : 0)) < 0) {
625
        if (!fmt && (err = av_probe_input_buffer(pb, &fmt, filename, logctx, 0, logctx ? (*ic_ptr)->probesize : 0)) < 0) {
626 626
            goto fail;
627 627
        }
628 628
    }

Also available in: Unified diff