aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-10-21 17:44:43 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-10-21 17:44:43 +0000
commit90dca1411d6cbabc50a7aba197f0bd8410a59175 (patch)
treeda7148fe31289d31aa2d21049f53fc99cefcf4a8
parentec5517d5cf5898ba8cd5b8341e3cdf36056927d1 (diff)
downloadffmpeg-90dca1411d6cbabc50a7aba197f0bd8410a59175.tar.gz
changed write_packet API - should work as before
Originally committed as revision 1060 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c
index 789f5082e0..2f3eae7ea2 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -2119,7 +2119,7 @@ static int http_prepare_data(HTTPContext *c)
/* XXX: potential leak */
return -1;
}
- if (av_write_packet(ctx, &pkt, pkt.pts)) {
+ if (av_write_frame(ctx, pkt.stream_index, pkt.data, pkt.size)) {
c->state = HTTPSTATE_SEND_DATA_TRAILER;
}