Commit b97d4b73 authored by bellard's avatar bellard

changed write_packet API - should work as before


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1060 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c722c3ab
...@@ -2119,7 +2119,7 @@ static int http_prepare_data(HTTPContext *c) ...@@ -2119,7 +2119,7 @@ static int http_prepare_data(HTTPContext *c)
/* XXX: potential leak */ /* XXX: potential leak */
return -1; 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; 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