Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-14 22:39:04 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-17 05:59:39 +0300
commit83fddaeb81f782e06281730a809ae2bf4c86a229 (patch)
tree203b3ab91985c071a1bbac1accfeddaf6d7251df /ffserver.c
parenteda4cf92d795ae7e233e83f5ad37209d475b7805 (diff)
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.c3
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) {