<div>hi, everybody.</div><div>i have token the ffserver code to MS Visual Studio 2010, when i compiled the ffmpeg-0.10.0 by mingw/msys.</div><div>i compiled and run it normally.</div><div>but when i upload live data from ffmpeg to ffserver, with transfer-encoding: chunked, it can receive the data in the form of 4096 bytes per chunk. i found the packet_id 'fm' flag is OK, but the last data not correct, ie, the frame_offset always wrong, so when i use VLC to connect to my ffserver, in the http_prepare_data function, code below:</div><div>    case HTTPSTATE_SEND_DATA:<br>        /* find a new packet */<br>        /* read a packet from the input stream */<br>        if (c->stream->feed)<br>  {<br>            ffm_set_write_index(c->fmt_in,<br>                                c->stream->feed->feed_write_index,<br>                                c->stream->feed->feed_size);<br>  }</div><div>        if (c->stream->max_time &&<br>            c->stream->max_time + c->start_time - cur_time < 0)<br>  {<br>            /* We have timed out */<br>            c->state = HTTPSTATE_SEND_DATA_TRAILER;<br>  }<br>        else {<br>   AVPacket pkt = {0};<br>        redo:<br>            ret = av_read_frame(c->fmt_in, &pkt);  // always return -11(AVERROR(EAGAIN))</div><div>....</div><div> </div><div>someone please help me. thanks.<br></div>