Revision 83fddaeb ffserver.c

View differences:

ffserver.c
2721 2721
            if (!fmt_in)
2722 2722
                goto fail;
2723 2723

  
2724
            url_open_buf(&pb, c->buffer, c->buffer_end - c->buffer, URL_RDONLY);
2724
            pb = avio_alloc_context(c->buffer, c->buffer_end - c->buffer,
2725
                                    0, NULL, NULL, NULL, NULL);
2725 2726
            pb->is_streamed = 1;
2726 2727

  
2727 2728
            if (av_open_input_stream(&s, pb, c->stream->feed_filename, fmt_in, NULL) < 0) {

Also available in: Unified diff