projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e14f14
)
set is_streamed before writing data to output file
author
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Fri, 30 May 2008 00:21:42 +0000
(
00:21
+0000)
committer
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Fri, 30 May 2008 00:21:42 +0000
(
00:21
+0000)
Originally committed as revision 13543 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index bf7b5caf7d0926a8b9f13f7d77e13363166b980a..f7288d098965ea3f798f8fcae20c1c195feae5e8 100644
(file)
--- a/
ffserver.c
+++ b/
ffserver.c
@@
-2164,6
+2164,7
@@
static int http_prepare_data(HTTPContext *c)
/* XXX: potential leak */
return -1;
}
+ c->fmt_ctx.pb->is_streamed = 1;
if (pkt.dts != AV_NOPTS_VALUE)
pkt.dts = av_rescale_q(pkt.dts,
c->fmt_in->streams[pkt.stream_index]->time_base,
@@
-2201,6
+2202,7
@@
static int http_prepare_data(HTTPContext *c)
/* XXX: potential leak */
return -1;
}
+ c->fmt_ctx.pb->is_streamed = 1;
av_write_trailer(ctx);
len = url_close_dyn_buf(ctx->pb, &c->pb_buffer);
c->buffer_ptr = c->pb_buffer;