diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-14 20:39:04 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-16 22:59:39 -0400 |
commit | 83fddaeb81f782e06281730a809ae2bf4c86a229 (patch) | |
tree | 203b3ab91985c071a1bbac1accfeddaf6d7251df /ffserver.c | |
parent | eda4cf92d795ae7e233e83f5ad37209d475b7805 (diff) | |
download | ffmpeg-83fddaeb81f782e06281730a809ae2bf4c86a229.tar.gz |
avio: deprecate url_open_buf
It's only used in one place and does the same thing as
avio_alloc_context.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index 0dccbd1388..db0cd127e2 100644 --- a/ffserver.c +++ b/ffserver.c @@ -2721,7 +2721,8 @@ static int http_receive_data(HTTPContext *c) if (!fmt_in) goto fail; - url_open_buf(&pb, c->buffer, c->buffer_end - c->buffer, URL_RDONLY); + pb = avio_alloc_context(c->buffer, c->buffer_end - c->buffer, + 0, NULL, NULL, NULL, NULL); pb->is_streamed = 1; if (av_open_input_stream(&s, pb, c->stream->feed_filename, fmt_in, NULL) < 0) { |