diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2002-10-21 17:44:43 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2002-10-21 17:44:43 +0000 |
commit | 90dca1411d6cbabc50a7aba197f0bd8410a59175 (patch) | |
tree | da7148fe31289d31aa2d21049f53fc99cefcf4a8 | |
parent | ec5517d5cf5898ba8cd5b8341e3cdf36056927d1 (diff) | |
download | ffmpeg-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.c | 2 |
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; } |