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:
parent
ec5517d5cf
commit
90dca1411d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user