Commit 90dca141 authored by Fabrice Bellard's avatar Fabrice Bellard
Browse files

changed write_packet API - should work as before

Originally committed as revision 1060 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ec5517d5
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment