1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-14 22:22:59 +02:00

changed write_packet API - should work as before

Originally committed as revision 1060 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard 2002-10-21 17:44:43 +00:00
parent ec5517d5cf
commit 90dca1411d

View File

@ -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;
}