diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-01-11 05:14:28 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-01-11 05:14:28 +0000 |
commit | 3c27199b8f38915bb69833ed8d2514bbbbb13f1a (patch) | |
tree | e03414609c1e6d26b8fdde7dbd9f4cf52df8a580 /ffserver.c | |
parent | 817b23ffcf7bf457cd8e4b87e5f6d4614208aae2 (diff) | |
download | ffmpeg-3c27199b8f38915bb69833ed8d2514bbbbb13f1a.tar.gz |
added av_set_parameters()
Originally committed as revision 1441 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c index 974fbefd12..e003a9e0ad 100644 --- a/ffserver.c +++ b/ffserver.c @@ -2113,6 +2113,7 @@ static int http_prepare_data(HTTPContext *c) } c->fmt_ctx.pb.is_streamed = 1; + av_set_parameters(&c->fmt_ctx, NULL); av_write_header(&c->fmt_ctx); len = url_close_dyn_buf(&c->fmt_ctx.pb, &c->pb_buffer); @@ -3143,6 +3144,7 @@ static int rtp_new_av_stream(HTTPContext *c, /* XXX: close stream */ goto fail; } + av_set_parameters(ctx, NULL); if (av_write_header(ctx) < 0) { fail: if (h) @@ -3437,6 +3439,7 @@ void build_feed_streams(void) st = feed->streams[i]; s->streams[i] = st; } + av_set_parameters(s, NULL); av_write_header(s); /* XXX: need better api */ av_freep(&s->priv_data); |